hugo-theme-relearn/exampleSite/content/configuration/sitemanagement/meta/_index.en.md

44 lines
1.4 KiB
Markdown
Raw Normal View History

+++
2024-10-12 17:28:28 +00:00
categories = ["howto"]
2024-10-11 14:27:13 +00:00
description = "What site-wide meta information can be set"
2024-10-08 21:25:17 +00:00
frontmatter = ["description"]
options = ["author.email", "author.name"]
title = "Meta Information"
weight = 3
+++
## Site Author Information
2024-10-08 21:25:17 +00: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 08:52:54 +00:00
{{< /multiconfig >}}
## Site Description
2024-10-08 21:25:17 +00: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.