A hugo blog site hosted on Github pages. Updates deployed via Wercker CI.
brew update && brew install hugo
hugo
hugo server -t ghostwriter
hugo new post/hello-world.md
hugo new page/about.md
hugo new project/todo.md
Code Snippets with Google Code-prettify
To embed a code snippet, just wrap code in a <pre>
tag with class="prettyprint linenums"
<pre class="prettyprint linenums">
module.exports = function () {
var element = document.createElement('h1');
element.innerHTML = 'Hello world!';
return element;
};
</pre>