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

12 lines
322 B
HTML

{{ with .Site.GetPage (.Get "in") }}
{{ range first 1 .Pages }}
<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>
{{ end }}
{{ end }}