fix(config): fix wrong svg alt attributes and how posts handle authors

This commit is contained in:
2024-03-14 16:22:29 +01:00
parent 9be8cc9bdc
commit f1b401a181
3 changed files with 29 additions and 45 deletions

View File

@@ -30,7 +30,7 @@
{{- end }}
<hr class="post-end">
<footer class="post-info">
{{- with $.Param "author" }}
{{- with .Param "author" }}
<p><object type="image/svg+xml" class="feather" data="{{"author.svg" | relURL}}">{{.}}</object></p>
{{- end }}
{{- with .Params.tags }}
@@ -78,4 +78,4 @@
{{ end }}
{{ define "footer " }}
{{ partialCached "footer.html " . }}
{{ end }}
{{ end }}