diff options
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 @@ | |||
1 | {{ define "main" -}} | ||
2 | <main class="h-card"> | ||
3 | <h1 class="p-name">Alan Pearce</h1> | ||
4 | {{ .Content }} | ||
5 | <section> | ||
6 | <h2>Latest Posts</h2> | ||
7 | <ul> | ||
8 | {{- range first 3 .Site.RegularPages }} | ||
9 | <li class="h-entry"> | ||
10 | <a class="u-url p-name" href="{{ .RelPermalink }}">{{ .Title }}</a> | ||
11 | <time class="dt-published" datetime="{{ .Date.Format "2006-01-02T15:04:05Z" }}">{{ .Date.Format "Monday, 2 January 2006" }}</time> | ||
12 | </li> | ||
13 | {{- end }} | ||
14 | </ul> | ||
15 | </section> | ||
16 | <section> | ||
17 | <h2>Elsewhere on the Internet</h2> | ||
18 | <ul> | ||
19 | {{- range .Site.Menus.contact }} | ||
20 | <li> | ||
21 | {{- if hasPrefix .URL "mailto:" }} | ||
22 | <a href="{{ .URL }}" class="u-email email" rel="me">{{ .Name }}</a> | ||
23 | {{- else }} | ||
24 | <a href="{{ .URL }}" class="u-url url" rel="me">{{ .Name }}</a> | ||
25 | {{- end }} | ||
26 | </li> | ||
27 | {{- end }} | ||
28 | </ul> | ||
29 | </section> | ||
30 | <footer> | ||
31 | {{- with .Site.Params.GPG }} | ||
32 | GPG Key: <a href="{{ .url }}" rel="u-key pgpkey">{{ .fingerprint }}</a> | ||
33 | {{- end }} | ||
34 | </footer> | ||
35 | </main> | ||
36 | {{- end }} | ||