Show publication date AND time
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
f230cdeab9
commit
74dfb1baa2
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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 }}
|
||||
|
|
Loading…
Reference in New Issue