diff --git a/themes/hugo-xmin/layouts/_default/single.html b/themes/hugo-xmin/layouts/_default/single.html index 228da00..9c712f5 100644 --- a/themes/hugo-xmin/layouts/_default/single.html +++ b/themes/hugo-xmin/layouts/_default/single.html @@ -4,6 +4,18 @@
{{ .Content }} + +{{ if .Params.changelog }} +

Changelog

+
+
+{{ range .Params.changelog }} +
{{ .date }}
+
{{ .text }}
+{{ end }} +
+
+{{ end }}
{{ partial "footer.html" . }} diff --git a/themes/hugo-xmin/layouts/partials/page_meta.html b/themes/hugo-xmin/layouts/partials/page_meta.html index 1ea6877..d7a295c 100644 --- a/themes/hugo-xmin/layouts/partials/page_meta.html +++ b/themes/hugo-xmin/layouts/partials/page_meta.html @@ -56,9 +56,10 @@ - + - {{ if .Params.toc }} - {{ .TableOfContents }} - {{ else }} - {{ end }} \ No newline at end of file +{{ if .Params.toc }} +

Table of Contents

+{{ .TableOfContents }} +{{ else }} +{{ end }} diff --git a/themes/hugo-xmin/static/css/style.css b/themes/hugo-xmin/static/css/style.css index f7feaeb..9edcdf5 100644 --- a/themes/hugo-xmin/static/css/style.css +++ b/themes/hugo-xmin/static/css/style.css @@ -27,6 +27,10 @@ hr { border: 1px solid #eee; border-radius: 5px; } +#Changelog { + border: 1px solid #eee; + border-radius: 5px; +} /* pagination */ .pagination { text-align: center; } @@ -75,4 +79,4 @@ a.footnote-ref::after { background: #ff1493; padding: 5px; border-radius: 5px; -} \ No newline at end of file +}