From 74dfb1baa23ed0cface50ed6359325f1731b3c65 Mon Sep 17 00:00:00 2001 From: Luca Date: Tue, 24 Nov 2020 23:16:36 +0100 Subject: [PATCH] Show publication date AND time --- content/news/post-01.de.md | 2 +- content/news/post-01.md | 2 +- layouts/_default/section.html | 2 +- layouts/news/single.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/content/news/post-01.de.md b/content/news/post-01.de.md index 3e8a458..e0ee78e 100644 --- a/content/news/post-01.de.md +++ b/content/news/post-01.de.md @@ -1,6 +1,6 @@ --- title: Webseite im Aufbau -date: "2020-11-24" +date: 2020-11-24T23:04:15+01:00 --- Hi, wie du vielleicht schon gemerkt hast, befindet sich diese Webseite noch im Aufbau. diff --git a/content/news/post-01.md b/content/news/post-01.md index 020debf..f7c7cb3 100644 --- a/content/news/post-01.md +++ b/content/news/post-01.md @@ -1,6 +1,6 @@ --- title: Website under construction -date: "2020-11-24" +date: 2020-11-24T23:04:15+01:00 --- Hi, as you might have noticed this website is still under construction. diff --git a/layouts/_default/section.html b/layouts/_default/section.html index 0788ffd..df9c021 100644 --- a/layouts/_default/section.html +++ b/layouts/_default/section.html @@ -5,7 +5,7 @@ {{ range .Pages }}
  • - {{.Date.Format "2006-01-02"}} | {{.Title}} + {{.Date.Format "2006-01-02 15:04"}} | {{.Title}}
  • {{ end }} diff --git a/layouts/news/single.html b/layouts/news/single.html index e5d07b2..fceef5c 100644 --- a/layouts/news/single.html +++ b/layouts/news/single.html @@ -1,7 +1,7 @@ {{ define "main" }}

    {{ .Title }}

    -

    {{ .Date.Format "2006-01-02" }}

    +

    {{ .Date.Format "2006-01-02 15:04" }}

    {{ .Content }}
    {{ end }}