diff --git a/README.md b/README.md index 5750840..ff1737f 100644 --- a/README.md +++ b/README.md @@ -27,8 +27,8 @@ To enable Chroma, add the following to your site parameters: ``` pygmentsCodeFences = true pygmentsUseClasses = true -[params] - useChroma = true +[Params] + UseChroma = true ``` Then, you can use a different style by running: diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 667fbac..f326111 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -43,7 +43,7 @@ {{- end }} - + {{- if .Site.Params.staticman -}} diff --git a/layouts/partials/post_meta.html b/layouts/partials/post_meta.html index c849530..aa099a0 100644 --- a/layouts/partials/post_meta.html +++ b/layouts/partials/post_meta.html @@ -5,7 +5,7 @@ {{ if ne $datestr $lastmodstr }}  {{ $lastmodstr | i18n "lastModified" }} {{ end }} - {{ if .Params.readingTime }} + {{ if .Site.Params.readingTime }}  |  {{ i18n "readingTime"}} {{ .ReadingTime }} {{ i18n "readTime" }} ({{ .WordCount }} {{ i18n "words" }}) {{ end }}