mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-06-12 01:47:28 -05:00
Use a new authors array instead of a string
This commit is contained in:
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user