mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-02-15 08:13:32 +00:00
docs: announce new exampleSite #1003
This commit is contained in:
parent
2a6d621e79
commit
fd301a9776
3 changed files with 14 additions and 2 deletions
|
@ -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 %}} 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 %}} 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.
|
||||||
|
|
|
@ -27,10 +27,18 @@ For a detailed installation guide, see the [Relearn documentation](https://mcshe
|
||||||
|
|
||||||
## Modify it
|
## 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/`
|
- `content/pir/`
|
||||||
- `i18n/`
|
- `i18n/`
|
||||||
- `layouts/partials/shortcodes/piratify.html`
|
- `layouts/partials/shortcodes/piratify.html`
|
||||||
- `layouts/partials/toc.html`
|
- `layouts/partials/toc.html`
|
||||||
- `layouts/shortcodes/piratify.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.
|
|
@ -1 +1 @@
|
||||||
7.3.2+603c90f266c54338ff40368daffaa2241805e3b6
|
7.3.2+2a6d621e79ae8fc80cc8e3d832a132a8a7274341
|
Loading…
Add table
Reference in a new issue