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) }}
{{ .FirstSection.Title }}
{{ end }} -{{ if not .Date.IsZero }} -
- -
{{ end }} {{ if ne .Date .Lastmod }}