docs: announce new exampleSite #1003
Some checks are pending
docs-build-deployment / Run deploy (push) Waiting to run
docs-build / Run build (push) Waiting to run

This commit is contained in:
Sören Weber 2025-02-14 00:18:56 +01:00
parent 2a6d621e79
commit fd301a9776
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D
3 changed files with 14 additions and 2 deletions

View file

@ -51,3 +51,7 @@ weight = -4
- {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} The logo color is now configurable via the `--MENU-HEADER-color` variable in your variant stylesheets.
- {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} Table headers are sticky now.
- {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} The themes documentation has been moved from `exampleSite` to `docs` to make place for a [brand new exampleSite](https://mcshelby.github.io/hugo-theme-relearn/exampleSite/about/index.html).
This was done because the docs contained to much docs specific configuration and quirks. The new exampleSite is meant as a starting template for your own project with minimal initial configuration.

View file

@ -27,10 +27,18 @@ For a detailed installation guide, see the [Relearn documentation](https://mcshe
## Modify it
While minimal in configuration, this showcase contains an auto translation into the Piratish language. This required some files and directories, totally unnecessary for a simple site. You can delete them if you use this site as a starting template. Namely these are:
While minimal in configuration, this showcase contains an auto translation into the Piratish language. This required some additional files and directories, totally unnecessary for a simple site. You can delete them if you use this site as a starting template. Namely these are:
- `content/pir/`
- `i18n/`
- `layouts/partials/shortcodes/piratify.html`
- `layouts/partials/toc.html`
- `layouts/shortcodes/piratify.html`
You will also have to add this to the `hugo.toml` to deactivate the translation:
````toml {title="hugo.toml"}
disableLanguages = ['pir']
````
**or** remove all references to the Piratish language.

View file

@ -1 +1 @@
7.3.2+603c90f266c54338ff40368daffaa2241805e3b6
7.3.2+2a6d621e79ae8fc80cc8e3d832a132a8a7274341