diff --git a/layouts/partials/post_meta.html b/layouts/partials/post_meta.html index 15b8b1b..8bc0e50 100644 --- a/layouts/partials/post_meta.html +++ b/layouts/partials/post_meta.html @@ -12,9 +12,11 @@ {{- $scratch.Add "meta" (slice (i18n "words" .WordCount | default (printf "%d words" .WordCount))) }} {{- end }} +{{- if not (.Param "hideAuthor") -}} {{- with (partial "author.html" .) }} {{- $scratch.Add "meta" (slice .) }} {{- end }} +{{- end }} {{- with ($scratch.Get "meta") }} {{- delimit . " ยท " -}} diff --git a/layouts/partials/share_icons.html b/layouts/partials/share_icons.html index 59ed050..4281c94 100644 --- a/layouts/partials/share_icons.html +++ b/layouts/partials/share_icons.html @@ -68,4 +68,14 @@ {{- end }} - \ No newline at end of file + {{- if (cond ($custom) (in $ShareButtons "ycombinator") (true)) }} + + + + + + {{- end }} + diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html index 2f85399..e54d4e1 100644 --- a/layouts/partials/svg.html +++ b/layouts/partials/svg.html @@ -487,6 +487,10 @@ +{{- else if (eq $icon_name "pixelfed") -}} + + + {{- else if (eq $icon_name "qq") -}} @@ -667,6 +671,12 @@ +{{- else if (eq $icon_name "wechat") -}} + + + + {{- else if (eq $icon_name "xda") -}}