General
Author #
Add an author to a page by setting the author key in its front matter. The author is shown below the title on single pages and on image summary cards.
---
title: My First Post
author: Jane Doe
---To set a default author for the whole site, add author to your site parameters. Page front matter overrides the site default.
[params]
author = "Jane Doe"You can credit more than one author by providing a list. The names are joined with commas.
---
title: A Collaborative Post
author:
- Jane Doe
- John Smith
---Author names are rendered as Markdown, so you can link to a profile:
author: "[Jane Doe](https://example.com/jane)"A publication date is added with Hugo’s standard date front matter key. See Show or hide dates on pages for controlling whether dates appear, and Localize date format for changing the format.
Read more link #
The homepage and other areas of the site use a read more link on the element. You can customize the copy of this link to make it more descriptive with the parameter read_more_copy available as a site and front matter parameter.
# config.toml
# Globally for all pages:
[params]
read_more_copy = "Read more about this entry"
# Just for french
[languages.fr]
name = "Français"
weight = 2
[languages.fr.params]
read_more_copy = "En savoir plus à ce sujet"Using front matter and cascade, this can be customized for a whole section, or just for one page.
# content/posts/tower-bridge-london
title: The Tower Bridge of London
read_more_copy: Read more about this bridgeShow Reading Time and Word Count #
If you add a key of show_reading_time true to either the Config Params, a page or section’s front matter, articles will show the reading time and word count.