2.3 KiB
date | title | author | tags | ||||
---|---|---|---|---|---|---|---|
2015-02-08T13:00:00+01:00 | First hugo post | pcdummy |
|
Today i moved my wordpress blog to hugo, it will allow me to post faster use less resources and i can share my content on github.
I've been using Markdown a lot recently to document my own stuff, now i'm able to just copy it to my blog and publish it.
[Hugo](gohugo.io/) is a open source tool written by [@spf13](https://github.com/spf13) in [go](http://golang.org/) that converts [Markdown](https://en.wikipedia.org/wiki/Markdown) documents into static pages or serves them as server.Tools i've been using while converting:
-
Ubuntu GNU/Linux MATE - The MATE flavor of Ubuntu GNU/Linux.
-
Atom.io - I use Atom since some weeks, it has been a nice replacement for the shareware and closed source Sublime.
-
To-Markdown - A useful HTML-to-Markdown converter, which I've been using while switching to Hugo.
-
gohugo.io source - gohugo.io runs trough Hugo and its source helped me alot to build this blog.
-
On-liner to test trough all themes, run in your sites root:
for i in $(find themes/ -maxdepth 2 -iname 'theme.toml'); do
echo -e "\nCurrent Theme: $(expr match "$i" 'themes/.*
/theme.toml')\n";
hugo server --buildDrafts --watch
--theme=$(expr match "$i" 'themes/.*
/theme.toml');
done
This blog uses:
-
Ubuntu GNU/Linux Server - Yes its a download link for a fully featured Server OS.
-
Nginx - A lightweight, fast and stable web server from Igor Sysoev.
-
Of course Hugo i also have a live preview of my whole site with it.
-
Purehugo theme - A little modified.
-
Client Side Syntax highlighting with hightlight.js
-
Atom.io - To create the pages/entries