Add front matter for various display options

This commit is contained in:
James Panther
2021-08-15 11:21:37 +10:00
parent 73218ce192
commit 491d356d15
6 changed files with 27 additions and 19 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
{{ if .Site.Params.article.showAuthor | default true }}
{{ if .Params.showAuthor | default (.Site.Params.article.showAuthor | default true) }}
<div class="flex items-center pt-8">
{{ with .Site.Author.image }}
<img class="w-24 h-24 !mt-0 !mb-0 mr-4 rounded-full" src="{{ . }}" />