diff options
author | Patrick Spek <p.spek@tyil.nl> | 2023-08-05 09:54:19 +0200 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2023-08-05 09:54:19 +0200 |
commit | 174ec258a0e883af0605b8b007c4cdcc5ee4af3f (patch) | |
tree | 005cab10265e0f6c5eca85c5dbfaa68b6e32a30c | |
parent | 07ae26b4d0730735eadf1055d27a291a69ba0131 (diff) |
Add more h-card stuff
-rw-r--r-- | layouts/_default/baseof.html | 3 | ||||
-rw-r--r-- | layouts/posts/single.html | 4 | ||||
-rw-r--r-- | layouts/recipes/list.html | 4 |
3 files changed, 10 insertions, 1 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 09ae79a..f69ca6a 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -5,12 +5,13 @@ <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> + <link rel="canonical" class="u-url" href="{{ .Permalink }}"> <link rel="stylesheet" type="text/css" href="{{ $cssMain.Permalink }}"> <link rel="me" href="https://fedi.tyil.nl/@tyil"> <link rel="me" href="https://git.tyil.nl"> <link rel="me" href="https://sr.ht/~tyil"> - <link rel="me" href="mailto:p.spek@tyil.nl"> <link rel="me" href="https://www.tyil.nl" class="h-card"> + <link rel="me" href="mailto:p.spek@tyil.nl"> {{- range .AlternativeOutputFormats }} <link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" title="{{ $.Site.Title }}" href="{{ .Permalink }}"> {{- end }} diff --git a/layouts/posts/single.html b/layouts/posts/single.html index eca87b9..ad06924 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -1,3 +1,7 @@ +{{ define "head" }} +<link rel="author" class="p-author h-card" href="{{ .Site.BaseURL }}">tyil</link> +{{ end }} + {{ define "main" }} <article class="h-entry"> <header> diff --git a/layouts/recipes/list.html b/layouts/recipes/list.html index b758a2b..e80a73a 100644 --- a/layouts/recipes/list.html +++ b/layouts/recipes/list.html @@ -1,3 +1,7 @@ +{{ define "head" }} +<link rel="author" class="p-author h-card" href="{{ .Site.BaseURL }}">tyil</link> +{{ end }} + {{- define "main" }} <h1>{{ .Title }}</h1> {{ .Content }} |