16 lines
400 B
HTML
16 lines
400 B
HTML
{{ define "title" }}
|
|
{{ .Title }}
|
|
{{ end }}
|
|
{{ define "main" }}
|
|
<section id="projects">
|
|
{{- range first 10 .Data.Pages }}
|
|
<a href="{{ .Permalink }}" class="button">
|
|
<section class="project-tile">
|
|
<a href="{{- .Permalink }}" class="button"><h2>{{ .Title }}</h2></a>
|
|
{{ .Plain | truncate 500 | htmlUnescape | safeHTML }}
|
|
</section>
|
|
</a>
|
|
{{- end }}
|
|
</section>
|
|
{{ end }}
|