Create structure for press articles #31
@ -1,7 +1,8 @@
|
|||||||
---
|
---
|
||||||
title: "Pressestimmen"
|
title: "Pressestimmen"
|
||||||
date: 2023-01-20T16:27:40+01:00
|
date: 2023-01-20T16:27:40+01:00
|
||||||
draft: true
|
# draft: false
|
||||||
|
layout: press
|
||||||
# type: home
|
# type: home
|
||||||
menu:
|
menu:
|
||||||
main:
|
main:
|
||||||
@ -9,3 +10,4 @@ menu:
|
|||||||
parent: aktuell
|
parent: aktuell
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
|
24
themes/tsc_vfl/layouts/_default/press.html
Normal file
24
themes/tsc_vfl/layouts/_default/press.html
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{{ define "main" }}
|
||||||
|
<a name="top">
|
||||||
|
<h1>{{ .Title }}</h1>
|
||||||
|
</a>
|
||||||
|
{{ .Content }}
|
||||||
|
{{ range .Pages.ByPublishDate.Reverse }}
|
||||||
|
<div class="press-article">
|
||||||
|
<div class="title">{{ .Title }}</div>
|
||||||
|
<div class="metadata">
|
||||||
|
<span class="date">{{ .Date.Format "02.01.2006" }}</span>
|
||||||
|
{{ with .Param "source" }}<span class="source">{{ . }}</span>{{ end }}
|
||||||
|
</div>
|
||||||
|
<div class="content">{{ .Content }}</div>
|
||||||
|
</div>
|
||||||
|
<!--<p>
|
||||||
|
<h3><a class="title" href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
|
||||||
|
{{ partial "metadata.html" . }}
|
||||||
|
<a class="summary" href="{{ .RelPermalink }}">
|
||||||
|
<p>{{ .Content }}</p>
|
||||||
|
</a>
|
||||||
|
</p>-->
|
||||||
|
{{ end }}
|
||||||
|
{{ partial "totop" }}
|
||||||
|
{{ end }}
|
Loading…
Reference in New Issue
Block a user