mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-06-12 01:47:28 -05:00
Add author
param and display it
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
|
||||
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
|
||||
|
@ -1,6 +1,7 @@
|
||||
---
|
||||
|
||||
title: {{ replace .Name "-" " " | title }}
|
||||
author: {{ with .Site.Author.name }}{{ . }}{{ else }}John Doe{{ end }}
|
||||
menu: main
|
||||
toc: true
|
||||
comments: false
|
||||
|
Reference in New Issue
Block a user