Use a new authors array instead of a string

This commit is contained in:
2021-10-27 19:39:25 -05:00
parent 7ffa6c068c
commit fe4d0979d6
3 changed files with 16 additions and 2 deletions

View File

@ -1,11 +1,13 @@
---
title: {{ replace .Name "-" " " | title }}
author: {{ with .Site.Author.name }}{{ . }}{{ else }}John Doe{{ end }}
menu: main
toc: true
comments: false
authors:
- {{ with .Site.Author.name }}{{ . }}{{ else }}John Doe{{ end }}
---
This page is about something. All the content before the "more" HTML comment