docs: force description

- for the home page, set it explicitly as the included README will mess up the description with the text of the h1 heading
- ignore auto-generated summaries of Hugo
This commit is contained in:
Sören Weber 2024-04-24 21:38:16 +02:00
parent 82f946618c
commit 5bbd5b53d1
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D
3 changed files with 5 additions and 0 deletions

View file

@ -28,6 +28,9 @@ defaultContentLanguage = "en"
# the site's title of this showcase; you should change this ;-)
title = "Hugo Relearn Theme"
# Don't use any auto-generated summaries
summaryLength = 0
[outputs]
# add `json` to the home to support Lunr search; This is a mandatory setting
# for the search functionality

View file

@ -1,5 +1,6 @@
+++
archetype = "home"
description = "A theme for Hugo designed for documentation."
title = "Hugo Relearn Theme"
+++
{{% replaceRE "https://mcshelby.github.io/hugo-theme-relearn/" "" %}}

View file

@ -1,5 +1,6 @@
+++
archetype = "home"
description = "A theme fer Cap'n Hugo designed fer documentat'n."
title = "Cap'n Hugo Relearrrn Theme"
+++
{{< piratify true >}}