44 lines
1.4 KiB
Markdown
Raw Normal View History

+++
categories = ['howto']
description = 'What site-wide meta information can be set'
frontmatter = ['description']
options = ['author.email', 'author.name']
title = 'Meta Information'
2025-03-17 23:13:38 +01:00
weight = 4
+++
## Site Author Information
2024-10-08 23:25:17 +02:00
{{% badge style="cyan" icon="gears" title=" " %}}Option{{% /badge %}} The theme uses author details in various parts of your site, like RSS feeds and meta tags.
{{< multiconfig file=hugo >}}
[params]
[params.author]
name = 'Santa Claus'
email = 'santa@example.com'
{{< /multiconfig >}}
## Site Title
The `title` will be used in meta information of your HTML.
{{< multiconfig file=hugo >}}
title = 'Hugo Relearn Theme'
2024-10-12 10:52:54 +02:00
{{< /multiconfig >}}
## Site Description
2024-10-08 23:25:17 +02:00
{{% badge style="green" icon="fa-fw fab fa-markdown" title=" " %}}Front Matter{{% /badge %}} The theme shows a site description in various places, such as RSS feeds and meta tags. For this, it uses the `description` field from your home page's front matter.
## Social Media Images
When your page is shared on social media, you can set a site-wide image to display with the link
{{< multiconfig file=hugo >}}
images = [ 'images/hero.png' ]
{{< /multiconfig >}}
## More Social Media Options
The theme adheres to Hugo's official documentation for [Open Graph](https://gohugo.io/templates/embedded/#configure-open-graph) and [Twitter Cards](https://gohugo.io/templates/embedded/#configure-x-twitter-cards) configuration.