16 lines
495 B
HTML
16 lines
495 B
HTML
{{- define "stylesheet" -}}
|
|
{{- $scss := resources.Get "/_default/list.scss" -}}
|
|
{{- $style := $scss | resources.ToCSS -}}
|
|
<link rel="preload stylesheet" as="style" href="{{ $style.Permalink }}" type="text/css" media="screen" />
|
|
{{- end -}}
|
|
|
|
{{- define "main" }}
|
|
|
|
<main>
|
|
<h1 class="title">{{ .Title }}</h1>
|
|
{{- range .Pages }}
|
|
<p> <a href="{{ .Permalink }}">{{ .Title }}</a> <span>{{ .Date.Format "2 January 2006" }}</span> </p>
|
|
{{- end }}
|
|
</main>
|
|
|
|
{{- end }}
|