diff --git a/README.md b/README.md index 673539b..71bb4ae 100644 --- a/README.md +++ b/README.md @@ -115,6 +115,8 @@ which will give you a body class like this: ``` +note: The `body_classes` parameter will not change the font used in post content. To do this, you must use the `post_content_classes` parameter. + You can find a list of available typefaces [here](https://github.com/tachyons-css/tachyons/blob/v4.7.0/src/_font-family.css). And a list of background colors [here](https://github.com/tachyons-css/tachyons/blob/v4.7.0/src/_skins.css#L96). @@ -155,6 +157,12 @@ To run in production (e.g. to have Google Analytics show up), run `HUGO_ENV=prod HUGO_ENV=production hugo ``` +Note: The above command will not work on Windows. If you are running a Windows OS, use the below command: + +``` +hugo --environment production +``` + ## Contributing If you find a bug or have an idea for a feature, feel free to use the [issue tracker](https://github.com/budparr/gohugo-theme-ananke/issues) to let me know. diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 6aaab08..67f1415 100755 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -4,7 +4,7 @@ {{/* NOTE: the Site's title, and if there is a page title, that is set too */}} - {{ block "title" . }}{{ .Site.Title }} {{ with .Params.Title }} | {{ . }}{{ end }}{{ end }} + {{ block "title" . }}{{ with .Params.Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{ end }} {{ hugo.Generator }} {{/* NOTE: For Production make sure you add `HUGO_ENV="production"` before your build command */}} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index a940308..e63f129 100755 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -45,7 +45,7 @@ - {{ .WordCount}} words {{ end }} -