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
|
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.
|
Hi, wie du vielleicht schon gemerkt hast, befindet sich diese Webseite noch im Aufbau.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Website under construction
|
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.
|
Hi, as you might have noticed this website is still under construction.
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
{{ range .Pages }}
|
{{ range .Pages }}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{.Permalink}}">{{.Date.Format "2006-01-02"}} | {{.Title}}</a>
|
<a href="{{.Permalink}}">{{.Date.Format "2006-01-02 15:04"}} | {{.Title}}</a>
|
||||||
</li>
|
</li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</main>
|
</main>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<main>
|
<main>
|
||||||
<h1>{{ .Title }}</h1>
|
<h1>{{ .Title }}</h1>
|
||||||
<p>{{ .Date.Format "2006-01-02" }}</p>
|
<p>{{ .Date.Format "2006-01-02 15:04" }}</p>
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</main>
|
</main>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in New Issue