diff --git a/layouts/partials/posts_single_info.html b/layouts/partials/posts_single_info.html index 292c598..0e24d39 100644 --- a/layouts/partials/posts_single_info.html +++ b/layouts/partials/posts_single_info.html @@ -1,7 +1,8 @@ {{- with .Params.description }}

{{.}}

{{- end }} {{- if and .Params.author .Params.authorLink}}{{ $relreflink := relref . .Params.authorLink }}

{{ partial "svg.html" (dict "context" . "name" "author") }}{{ .Params.author }}

-{{- else if .Params.author }}{{ $relreflink := relref . .Site.Params.author.about }}

{{ partial "svg.html" (dict "context" . "name" "author") }}{{ .Params.author }}

-{{- else }}{{ $relreflink := relref . .Site.Params.author.about }}

{{ partial "svg.html" (dict "context" . "name" "author") }}{{ .Site.Params.author.name }}

+{{- else if and .Params.author .Site.Params.author.about }}{{ $relreflink := relref . .Site.Params.author.about }}

{{ partial "svg.html" (dict "context" . "name" "author") }}{{ .Params.author }}

+{{- else if and .Site.Params.author.about .Site.Params.author.name }}{{ $relreflink := relref . .Site.Params.author.about }}

{{ partial "svg.html" (dict "context" . "name" "author") }}{{ .Site.Params.author.name }}

+{{- else }}

{{ partial "svg.html" (dict "context" . "name" "author") }}{{ .Site.Params.author.name }}

{{- end }} {{- with .Params.tags }}

{{- partial "svg.html" (dict "context" . "name" "posts_single_tags") -}}{{- range . -}}{{.}}{{- end }}