diff --git a/archetypes/post.md b/archetypes/post.md index 41d53443..93370920 100644 --- a/archetypes/post.md +++ b/archetypes/post.md @@ -3,6 +3,9 @@ title = "{{ replace .TranslationBaseName "-" " " | title }}" date = {{ .Date }} draft = false +# Authors. Comma separated list, e.g. `["Bob Smith", "David Jones"]`. +authors = [] + # Tags and categories # For example, use `tags = []` for no tags, or the form `tags = ["A Tag", "Another Tag"]` for one or more tags. tags = [] diff --git a/exampleSite/content/post/getting-started.md b/exampleSite/content/post/getting-started.md index 84bff02f..5747e85e 100644 --- a/exampleSite/content/post/getting-started.md +++ b/exampleSite/content/post/getting-started.md @@ -5,6 +5,9 @@ date = 2016-04-20T00:00:00 lastmod = 2018-01-13T00:00:00 draft = false +# Authors. Comma separated list, e.g. `["Bob Smith", "David Jones"]`. +authors = [] + tags = ["academic"] summary = "Create a beautifully simple website or blog in under 10 minutes." diff --git a/layouts/partials/article_metadata.html b/layouts/partials/article_metadata.html index e2c02db1..f3b77da1 100644 --- a/layouts/partials/article_metadata.html +++ b/layouts/partials/article_metadata.html @@ -2,6 +2,16 @@ {{ $ := .content }}