diff options
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/index.html | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/layouts/index.html b/layouts/index.html index 8aebc2d..c555aa9 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,15 +1,17 @@ {{ define "main" -}} -<main> - <section> +<main class="h-card"> + <img height="128" width="128" class="u-photo" src="/img/me-thumb.jpg" /> + <h1 class="p-name">Alan Pearce</h1> + <section class="p-note"> {{ .Content }} </section> <section> <h2>Latest Posts</h2> <ul> {{- range first 3 .Site.RegularPages }} - <li> - <a href="{{ .RelPermalink | strings.TrimRight "/" }}">{{ .Title }}</a> - <time datetime="{{ .Date.Format "2006-01-02T15:04:05Z" }}">{{ .Date.Format "Monday, 2 January 2006" }}</time> + <li class="h-entry"> + <a class="u-url p-name" href="{{ .RelPermalink | strings.TrimRight "/" }}">{{ .Title }}</a> + <time class="dt-published" datetime="{{ .Date.Format "2006-01-02T15:04:05Z" }}">{{ .Date.Format "Monday, 2 January 2006" }}</time> </li> {{- end }} </ul> |