diff --git a/assets/sass/markdown.scss b/assets/sass/markdown.scss index db4238c..4bb6cb0 100644 --- a/assets/sass/markdown.scss +++ b/assets/sass/markdown.scss @@ -47,7 +47,8 @@ } .md li { - margin-bottom: 1rem; + margin-bottom: .5rem; + line-height: 1.5; } .md ol, diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 6ad23bf..69380ba 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -48,6 +48,9 @@ commentOnAllPosts = true # toc decides the shape of the toc button. e.g. default, lines, bar toc = "lines" +recent = "Recent Posts" +older = "Older Posts" + # Disqus configuration [params.disqus] shortname = "hugo-minima" diff --git a/layouts/index.html b/layouts/index.html index 79b9d7a..ef45cd9 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -4,9 +4,9 @@

{{ .Site.Author.slogon }}

{{ .Site.Author.description | markdownify | safeHTML }}

{{ if eq .Paginator.PageNumber 1 }} -

Recent Posts

+

{{ .Site.Params.recent }}

{{ else }} -

Older Posts

+

{{ .Site.Params.older }}

{{ end }}
{{ $paginator := .Paginate (where .Site.RegularPages "Kind" "page") }}