Make the author front-matter plural
tags: front-matter keys replace author
Description/Summary
Some themes might expect the front-matter list variable for authors to be authors instead of the default author created by ox-hugo.
Content
Some themes might expect the front-matter list variable for authors to
be authors
instead of the default author
created by ox-hugo
.
Page (Debug)
Page Variable | Value | |
---|---|---|
Name | "Make the author front-matter plural" | |
Title | "Make the author front-matter plural" | |
ResourceType | "page" | |
Kind | "page" | |
Section | "posts" | |
Draft | false | |
Type | "posts" | |
Layout | "" | |
Permalink | "https://ox-hugo.scripter.co/test/posts/plural-author-front-matter/" | |
RelPermalink | "/posts/plural-author-front-matter/" | |
Data |
| |
NextPage | Links with attributes | |
PrevPage | Markdown source block with Hugo shortcodes | |
NextInSection | Links with attributes | |
PrevInSection | Markdown source block with Hugo shortcodes |
Page Params (Debug)
Key | Type | Value |
---|---|---|
authors | []string | "Mark Twain" "Arthur Conan Doyle" |
draft | bool | false |
iscjklanguage | bool | false |
lastmod | time.Time | 2018-06-08 11:14:11 -0400 -0400 |
tags | []string | "front-matter" "keys" "replace" "author" |
title | string | "Make the author front-matter plural" |
File Object (Debug)
FileInfo Variable | Value |
---|---|
UniqueID | "b4b30e5370db0a7df94625579dd17972" |
BaseFileName | "plural-author-front-matter" |
TranslationBaseName | "plural-author-front-matter" |
Lang | "en" |
Section | "posts" |
LogicalName | "plural-author-front-matter.md" |
Dir | "posts/" |
Ext | "md" |
Path | "posts/plural-author-front-matter.md" |