about summary refs log tree commit diff stats
path: root/layouts
diff options
context:
space:
mode:
authorAlan Pearce2020-11-14 21:17:02 +0100
committerAlan Pearce2020-11-14 21:52:50 +0100
commit5de7de4e64cb20183ebfe86e16578f4abd62a23e (patch)
treed3e24ee322d24c03a5e6563ace11c1c588881368 /layouts
parentd996657be5efda94f4a934d5d78c407ba47bf76c (diff)
downloadwebsite-5de7de4e64cb20183ebfe86e16578f4abd62a23e.tar.lz
website-5de7de4e64cb20183ebfe86e16578f4abd62a23e.tar.zst
website-5de7de4e64cb20183ebfe86e16578f4abd62a23e.zip
Port theme to zola template
Diffstat (limited to 'layouts')
-rw-r--r--layouts/index.html36
-rw-r--r--layouts/partials/hook_head_end.html2
2 files changed, 0 insertions, 38 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 }}
diff --git a/layouts/partials/hook_head_end.html b/layouts/partials/hook_head_end.html
deleted file mode 100644
index 0f89f7d..0000000
--- a/layouts/partials/hook_head_end.html
+++ /dev/null
@@ -1,2 +0,0 @@
-<link href="{{ if .IsPage }}{{ .Permalink | strings.TrimRight "/" }}{{ else }}{{ .Permalink }}{{ end }}" rel="canonical">
-<meta name="googlebot" content="noindex">