diff options
author | Alan Pearce | 2020-11-14 21:17:02 +0100 |
---|---|---|
committer | Alan Pearce | 2020-11-14 21:52:50 +0100 |
commit | 5de7de4e64cb20183ebfe86e16578f4abd62a23e (patch) | |
tree | d3e24ee322d24c03a5e6563ace11c1c588881368 /layouts/index.html | |
parent | d996657be5efda94f4a934d5d78c407ba47bf76c (diff) | |
download | website-5de7de4e64cb20183ebfe86e16578f4abd62a23e.tar.lz website-5de7de4e64cb20183ebfe86e16578f4abd62a23e.tar.zst website-5de7de4e64cb20183ebfe86e16578f4abd62a23e.zip |
Port theme to zola template
Diffstat (limited to 'layouts/index.html')
-rw-r--r-- | layouts/index.html | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/layouts/index.html b/layouts/index.html deleted file mode 100644 index 3fe80e9..0000000 --- a/layouts/index.html +++ /dev/null @@ -1,36 +0,0 @@ -{{ define "main" -}} -<main class="h-card"> - <h1 class="p-name">Alan Pearce</h1> - {{ .Content }} - <section> - <h2>Latest Posts</h2> - <ul> - {{- range first 3 .Site.RegularPages }} - <li class="h-entry"> - <a class="u-url p-name" href="{{ .RelPermalink }}">{{ .Title }}</a> - <time class="dt-published" datetime="{{ .Date.Format "2006-01-02T15:04:05Z" }}">{{ .Date.Format "Monday, 2 January 2006" }}</time> - </li> - {{- end }} - </ul> - </section> - <section> - <h2>Elsewhere on the Internet</h2> - <ul> - {{- range .Site.Menus.contact }} - <li> - {{- if hasPrefix .URL "mailto:" }} - <a href="{{ .URL }}" class="u-email email" rel="me">{{ .Name }}</a> - {{- else }} - <a href="{{ .URL }}" class="u-url url" rel="me">{{ .Name }}</a> - {{- end }} - </li> - {{- end }} - </ul> - </section> - <footer> - {{- with .Site.Params.GPG }} - GPG Key: <a href="{{ .url }}" rel="u-key pgpkey">{{ .fingerprint }}</a> - {{- end }} - </footer> -</main> -{{- end }} |