From c61a9ddb9f5c8e8773866360f0d21226bc6bbb8e Mon Sep 17 00:00:00 2001 From: Jan-Lukas Else Date: Sat, 2 May 2020 11:28:37 +0200 Subject: [PATCH] Fix tap target for SEO --- layouts/partials/post_meta.html | 9 +++++---- layouts/partials/summary_meta.html | 9 +++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/layouts/partials/post_meta.html b/layouts/partials/post_meta.html index 8b9aaaa..ca8b5b3 100644 --- a/layouts/partials/post_meta.html +++ b/layouts/partials/post_meta.html @@ -1,12 +1,13 @@ +{{ if not .Date.IsZero }} +
+ {{ if not (eq .FirstSection.RelPermalink .RelPermalink) }} in {{ .FirstSection.Title }}{{ end }} +
+{{ else }} {{ if not (eq .FirstSection.RelPermalink .RelPermalink) }}
{{ .FirstSection.Title }}
{{ end }} -{{ if not .Date.IsZero }} -
- -
{{ end }} {{ if ne .Date .Lastmod }}
diff --git a/layouts/partials/summary_meta.html b/layouts/partials/summary_meta.html index 4f49a95..dc34cbb 100644 --- a/layouts/partials/summary_meta.html +++ b/layouts/partials/summary_meta.html @@ -1,12 +1,13 @@ +{{ if not .Date.IsZero }} +
+ {{ if not (eq .FirstSection.RelPermalink .RelPermalink) }} in {{ .FirstSection.Title }}{{ end }} +
+{{ else }} {{ if not (eq .FirstSection.RelPermalink .RelPermalink) }} {{ end }} -{{ if not .Date.IsZero }} -
- -
{{ end }} {{ if ne .Date .Lastmod }}