www.franconian.net/layouts/shortcodes/latest.html

12 lines
322 B
HTML
Raw Normal View History

2021-11-06 18:26:03 +01:00
{{ with .Site.GetPage (.Get "in") }}
{{ range first 1 .Pages }}
2021-12-21 00:37:37 +01:00
<div class="box">
<h2 class="box-header"><a href="{{ .Permalink }}" class="block-link">{{ .Title }}</a></h2>
<div class="box-content">
<p class="date">{{ .Date.Format "2006-01-02 15:04" }}</p>
{{ .Content }}
</div>
</div>
2021-11-06 18:26:03 +01:00
{{ end }}
{{ end }}