Add authors taxonomy for blog posts (#435)

* Add authors taxonomy and layout

* Add my name to contributors file

* Add authors to front matter post archetypes

* Add author to i18n for en

* Add authors taxonomy to exampleSite config

* Add some author names to exampleSite for demo

* Tested authors on pt-br and externally-linked post
* Also ran make release again

* Resources

Deleted resources in exampleSite and added resources in root
This commit is contained in:
earnest
2020-10-16 14:32:37 -04:00
committed by GitHub
parent 82ccf83b1e
commit e26616e170
11 changed files with 24 additions and 3 deletions

View File

@@ -80,6 +80,7 @@ disqusShortname = "yourdiscussshortname"
category = "categories"
series = "series"
tag = "tags"
author = "authors"
[[params.social]]
name = "Github"

View File

@@ -1,10 +1,11 @@
+++
date = "2014-09-28"
title = "Creating a New Theme"
slug = "creating-a-new-theme"
slug = "creating-a-new-theme"
tags = []
categories = []
series = ["Theme", "Hugo"]
authors = ["John Doe"]
+++
## Introduction

View File

@@ -4,6 +4,7 @@ title = "Dummy"
slug = "dummy"
tags = ["hugo", "i18n"]
categories = ["blog"]
authors = ["Translation test"]
+++
Nada para ver aqui!

View File

@@ -12,4 +12,5 @@ categories = [
]
externalLink = "https://github.com/luizdepra/hugo-coder/wiki"
series = ["Hugo"]
authors = ["External link test"]
+++

View File

@@ -14,6 +14,7 @@ categories = [
"golang",
]
series = ["Getting Started", "Hugo"]
authors = ["Jane Smith"]
+++
Hugo uses the excellent [go][] [html/template][gohtmltemplate] library for

View File

@@ -5,6 +5,7 @@ description = "The post demonstrates features of the coder theme."
images = ["/images/N90.jpg"]
math = true
series = ["Theme", "Hugo"]
authors = ["John Doe", "Jane Smith"]
+++
## Style Demo