From cb25f5ce589cc507fa4bba8af6114dcecb2521bb Mon Sep 17 00:00:00 2001 From: Marcel Schneider Date: Sun, 2 Apr 2017 18:01:53 +0200 Subject: [PATCH] Print dates in german locale order --- layouts/_default/single.html | 2 +- layouts/partials/latest-posts.html | 2 +- layouts/partials/post-list.html | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 101eaee..62e639e 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -7,7 +7,7 @@

{{ .Title }}

- {{ .Date.Format "January 2, 2006" }} + {{ .Date.Format "2. January 2006" }}
{{ with .Params.tags }} {{ if ge (len .) 1 }} diff --git a/layouts/partials/latest-posts.html b/layouts/partials/latest-posts.html index f5589d5..4bc2025 100644 --- a/layouts/partials/latest-posts.html +++ b/layouts/partials/latest-posts.html @@ -6,7 +6,7 @@ {{ $url := replace .Permalink .Site.BaseURL "" }} {{ if and (ne $url "about/") }}
  • - {{ .Title }} + {{ .Title }}
  • {{ end }} {{ end }} diff --git a/layouts/partials/post-list.html b/layouts/partials/post-list.html index 090bda1..3312b89 100644 --- a/layouts/partials/post-list.html +++ b/layouts/partials/post-list.html @@ -3,9 +3,9 @@ {{ $url := replace .Permalink .Site.BaseURL "" }} {{ if ne $url "about/" }}
  • - + {{ .Title }}

    {{ .Description | markdownify }}

  • {{ end }} {{ end }} - \ No newline at end of file +