Merge pull request 'Create structure for press articles' (#31) from feat/press-articles into develop
Reviewed-on: #31
This commit was merged in pull request #31.
This commit is contained in:
19
themes/tsc_vfl/layouts/_default/press.html
Normal file
19
themes/tsc_vfl/layouts/_default/press.html
Normal file
@@ -0,0 +1,19 @@
|
||||
{{ define "main" }}
|
||||
<a name="top">
|
||||
<h1>{{ .Title }}</h1>
|
||||
</a>
|
||||
{{ .Content }}
|
||||
<div class="press-articles">
|
||||
{{ range .Pages.ByPublishDate.Reverse }}
|
||||
<div class="press-article">
|
||||
<h2 class="title">{{ .Title }}</h2>
|
||||
<div class="metadata">
|
||||
<span class="date">{{ .Date.Format "02.01.2006" }}</span>
|
||||
{{ with .Param "source" }}<span class="source">Quelle: {{ . }}</span>{{ end }}
|
||||
</div>
|
||||
<div class="content">{{ .Content }}</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ partial "totop" }}
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user