Omphaloskepsis-2/layouts/index.html

17 lines
751 B
HTML
Raw Permalink Normal View History

2022-11-11 05:48:02 +00:00
{{ define "main-class" }}--homepage{{ end }}
{{ define "header" }} <!-- null --> {{ end }}
2023-07-01 03:16:59 +00:00
{{ define "article-class" }} <!-- null --> {{ end }}
2022-11-11 05:48:02 +00:00
{{ define "main-body" }}
<h1 class="page-title">
2023-07-01 03:16:59 +00:00
{{- with .Site.Params.pre_nominals }}<span class="pre-nominals p-honorific-prefix">{{ . | safeHTML }}</span> {{ end -}}
<span class="p-name">Ben Goldsworthy</span>
{{- with .Site.Params.post_nominals }} <span class="post-nominals p-honorific-suffix">{{ . | safeHTML }}</span>{{ end -}}
2022-11-11 05:48:02 +00:00
</h1>
2023-07-01 03:16:59 +00:00
<p class="p-note" style="display: none;">{{ .Site.Params.description }}</p>
2022-11-11 05:48:02 +00:00
{{ range ( where .Pages "Type" "in" site.Params.mainSections ).ByTitle }}<a href="{{ .RelPermalink }}"><h2>{{ .Title }}</h2></a>{{ end }}
{{ end }}