Show publication date AND time
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Luca 2020-11-24 23:16:36 +01:00
parent f230cdeab9
commit 74dfb1baa2
4 changed files with 4 additions and 4 deletions

View File

@ -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.

View File

@ -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.

View File

@ -5,7 +5,7 @@
{{ range .Pages }}
<li>
<a href="{{.Permalink}}">{{.Date.Format "2006-01-02"}} | {{.Title}}</a>
<a href="{{.Permalink}}">{{.Date.Format "2006-01-02 15:04"}} | {{.Title}}</a>
</li>
{{ end }}
</main>

View File

@ -1,7 +1,7 @@
{{ define "main" }}
<main>
<h1>{{ .Title }}</h1>
<p>{{ .Date.Format "2006-01-02" }}</p>
<p>{{ .Date.Format "2006-01-02 15:04" }}</p>
{{ .Content }}
</main>
{{ end }}