2020-11-24 22:47:15 +01:00
|
|
|
{{ define "main" }}
|
|
|
|
<main>
|
|
|
|
<h1>{{ .Title }}</h1>
|
|
|
|
{{ .Content }}
|
|
|
|
|
2021-12-21 00:37:37 +01:00
|
|
|
<ul class="box-grid">
|
2020-11-26 19:01:47 +01:00
|
|
|
{{ range .Pages }}
|
2021-12-21 00:37:37 +01:00
|
|
|
<li class="box">
|
|
|
|
<h2 class="box-header"><a href="{{ .Permalink }}" class="block-link">{{ .Title }}</a></h2>
|
|
|
|
<div class="box-content">
|
|
|
|
{{ with .Date }}<p class="date">{{ .Format "2006-01-02 15:04" }}</p>{{ end }}
|
|
|
|
{{ .Content | truncate 150 }}
|
|
|
|
</div>
|
|
|
|
<div class="box-footer"><a href="{{ .Permalink }}" class="read-more-link">{{ i18n "read_more" }}</a></div>
|
2020-11-26 19:01:47 +01:00
|
|
|
</li>
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
2020-11-24 22:47:15 +01:00
|
|
|
</main>
|
|
|
|
{{ end }}
|