2020-11-20 22:39:10 +01:00
|
|
|
{{- define "stylesheet" -}}
|
|
|
|
{{- $scss := resources.Get "/_default/list.scss" -}}
|
|
|
|
{{- $style := $scss | resources.ToCSS -}}
|
2021-03-02 11:02:13 +01:00
|
|
|
<link rel="preload stylesheet" as="style" href="{{ $style.Permalink }}" type="text/css" media="screen" />
|
2020-11-20 22:39:10 +01:00
|
|
|
{{- end -}}
|
2020-09-14 16:24:02 +02:00
|
|
|
|
2021-03-05 19:35:05 +01:00
|
|
|
{{- define "main" }}
|
|
|
|
|
2020-11-20 22:39:10 +01:00
|
|
|
<main>
|
2021-03-05 19:35:05 +01:00
|
|
|
{{- range .Pages }}
|
|
|
|
<p> <a href="{{ .Permalink }}">{{ .Title }}</a> <span>{{ .Date.Format "2 January 2006" }}</span> </p>
|
|
|
|
{{- end }}
|
2020-11-20 22:39:10 +01:00
|
|
|
</main>
|
2021-03-05 19:35:05 +01:00
|
|
|
|
|
|
|
{{- end }}
|