diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 59e62be..942bfd2 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -29,7 +29,7 @@ subtitle = "" # e.g. disqus, ovo. comment = "disqus" # timeformat -timeformat = "Jan 2, 2006" +timeformat = "Jan 02, 2006" # switch for turning on/off lights. switch = ["🌚", "🌝"] # if true, date of posts will be displayed in the homepage. diff --git a/layouts/partials/list.html b/layouts/partials/list.html index f8211e0..289c105 100644 --- a/layouts/partials/list.html +++ b/layouts/partials/list.html @@ -1,6 +1,6 @@ -
+
+{{ .Title }} {{ if .Site.Params.displayDate }} -
{{ dateFormat .Site.Params.timeformat .Date }}
+
{{ dateFormat .Site.Params.timeformat .Date }}
{{ end }} - {{ .Title }}
\ No newline at end of file diff --git a/layouts/partials/paginator.html b/layouts/partials/paginator.html index ae21414..c0ed60e 100644 --- a/layouts/partials/paginator.html +++ b/layouts/partials/paginator.html @@ -1,6 +1,6 @@ {{ $page := $.Paginator }} {{ if gt $page.TotalPages 1 }} -
+
{{ if $page.HasPrev }} ← Newer {{ end }}