Add author param and display it

This commit is contained in:
2021-10-26 14:27:37 -05:00
parent d393d9eef9
commit 9e5a8e6785
4 changed files with 13 additions and 1 deletions

View File

@ -1,6 +1,7 @@
---
title: {{ replace .Name "-" " " | title }}
author: {{ with .Site.Author.name }}{{ . }}{{ else }}John Doe{{ end }}
menu: main
toc: true
comments: false