diff --git a/i18n/de.yaml b/i18n/de.yaml index cf7c219..a3556b6 100644 --- a/i18n/de.yaml +++ b/i18n/de.yaml @@ -15,6 +15,9 @@ - id: meta_reply_to translation: Antwort auf +- id: meta_like_of + translation: Like von + # Post nav - id: post_nav_prev translation: Zurück diff --git a/i18n/en.yaml b/i18n/en.yaml index d723c41..ccab0d3 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -15,6 +15,9 @@ - id: meta_reply_to translation: Reply to +- id: meta_like_of + translation: Like of + # Post nav - id: post_nav_prev translation: Previous diff --git a/layouts/partials/post_meta.html b/layouts/partials/post_meta.html index bb80b4c..18693f3 100644 --- a/layouts/partials/post_meta.html +++ b/layouts/partials/post_meta.html @@ -1,17 +1,26 @@ -{{- if not .Params.nometa }} -{{- if not .Date.IsZero }} +{{ if not .Params.nometa }} +{{ if not .Date.IsZero }}
-{{- end }} -{{- if ne .Date .Lastmod }} +{{ end }} +{{ if ne .Date .Lastmod }}
-{{ end -}} +{{ end }} {{ with .Param "indieweb.reply" }} +{{ if .link }}
- {{ T "meta_reply_to" }}: {{ .title }} + {{ T "meta_reply_to" }}: {{ .title | default .link }}
{{ end }} -{{ end -}} \ No newline at end of file +{{ end }} +{{ with .Param "indieweb.like" }} +{{ if .link }} +
+ {{ T "meta_like_of" }}: {{ .title | default .link }} +
+{{ end }} +{{ end }} +{{ end }} \ No newline at end of file