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

@ -2,11 +2,13 @@
title: {{ replace .Name "-" " " | title }}
date: {{ .Date | time.Format "2006-01-02" }}
author: {{ with .Site.Author.name }}{{ . }}{{ else }}John Doe{{ end }}
toc: true
comments: true
draft: true
authors:
- {{ with .Site.Author.name }}{{ . }}{{ else }}John Doe{{ end }}
tags:
- awesome