Tag: Hugo
sudo port install hugo
hugo new site demo
cd demo git init git submodule add https://github.com/budparr/gohugo-theme-ananke.git themes/ananke echo 'theme = "ananke"' >> config.toml
hugo new post/my-first-post.md
hugo server -D
baseurl="http://localhost/hugo" RelativeURLs=true CanonifyURLs=true
{{ if .Params.thumbnail }} {{ $image := .Resources.GetMatch .Params.thumbnail }} <div class="thumb" style="background-image: url('{{ $image.RelPermalink }}');"></div> {{ else }} <div class="thumb"></div> {{ end }}
sudo port install hugo +extended
theme = "mytheme"
$ hugo server --ignoreCache