- - {{- range . -}} - {{.}} - {{- end }} -
- {{- end }} + {{ partial "tags.html" . }} + {{ partial "categories.html" . }} {{- if .GitInfo }}{{ .GitInfo.AbbreviatedHash }} @ {{ if .Site.Params.dateformNum }}{{ dateFormat .Site.Params.dateformNum .GitInfo.AuthorDate.Local }}{{ else }}{{ dateFormat "2006-01-02" .GitInfo.AuthorDate.Local }}{{ end }}
diff --git a/layouts/partials/categories.html b/layouts/partials/categories.html new file mode 100644 index 0000000..e3b5b16 --- /dev/null +++ b/layouts/partials/categories.html @@ -0,0 +1,9 @@ +{{ with .Params.categories }} ++ + + {{ range . -}} + {{.}} + {{ end }} +
+{{ end }} \ No newline at end of file diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 2953aab..b8856db 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -13,8 +13,8 @@