2021-06-30 12:56:06 +00:00
# Hugo Relearn Theme
2016-03-17 11:05:36 +00:00
2021-07-01 12:35:27 +00:00
A theme for [Hugo ](https://gohugo.io/ ).
2017-08-20 16:20:13 +00:00
2021-07-01 09:01:51 +00:00
[![wercker status ](https://app.wercker.com/status/062e9604da64b79944d87434cb63fa53/s/main "wercker status" )](https://app.wercker.com/project/byKey/062e9604da64b79944d87434cb63fa53)
2018-08-10 09:29:11 +00:00
2021-07-01 14:25:08 +00:00
![Overview ](https://github.com/McShelby/hugo-theme-relearn/raw/main/images/screenshot.png )
2021-07-01 12:35:27 +00:00
2017-08-20 16:20:13 +00:00
## Main features
- Automatic Search
- Multilingual mode
- Unlimited menu levels
- Automatic next/prev buttons to navigate through menu entries
- Image resizing, shadow…
- Attachments files
- List child pages
- Mermaid diagram (flowchart, sequence, gantt)
- Customizable look and feel and themes variants
2021-07-01 12:35:27 +00:00
- Buttons, Tip/Note/Info/Warning boxes, Expand, Tabs
Visit the [documentation ](https://relearn.netlify.app/ ) for a demo.
2016-04-10 22:09:03 +00:00
2016-12-30 21:40:05 +00:00
## Installation
2017-08-20 16:20:13 +00:00
2016-04-12 10:34:40 +00:00
Navigate to your themes folder in your Hugo site and use the following commands:
2017-08-20 16:20:13 +00:00
2019-09-04 21:47:55 +00:00
```shell
cd themes/
2021-06-30 12:56:06 +00:00
git clone https://github.com/McShelby/hugo-theme-relearn.git
2016-04-12 10:34:40 +00:00
```
2017-08-20 16:20:13 +00:00
Check that your Hugo version is minimum `0.25` with `hugo version` .
2017-04-08 08:30:09 +00:00
2016-12-30 21:40:05 +00:00
## Usage
2021-07-01 06:17:24 +00:00
- [Visit the documentation ](https://relearn.netlify.app/ )
2017-08-20 23:29:54 +00:00
2021-07-01 12:35:27 +00:00
## License
2017-08-20 23:29:54 +00:00
2021-07-01 12:35:27 +00:00
[MIT licensed. ](https://en.wikipedia.org/wiki/MIT_License )
2018-07-24 14:45:37 +00:00
2021-07-01 12:35:27 +00:00
## Credits
2019-09-04 21:47:55 +00:00
2021-07-01 12:57:26 +00:00
Many thanks to [everyone who has contributed ](https://github.com/McShelby/hugo-theme-relearn/graphs/contributors ) to this project.
Special thanks to [@matcornic ](https://github.com/matcornic ) for his work on [learn ](https://github.com/matcornic/hugo-theme-learn ) and [@vjeantet ](https://github.com/vjeantet ) for his work on [docdock ](https://github.com/vjeantet/hugo-theme-docdock ), which hugo-theme-relearn is based on.
2019-09-04 21:47:55 +00:00
## Releasing
2021-07-01 18:26:24 +00:00
We are using [gren ](https://github.com/github-tools/github-release-notes ) to generate the changelog and releasenotes automatically.
2019-09-04 21:47:55 +00:00
2021-07-01 18:26:24 +00:00
In the latest gren release (0.17.3) is a bug in the date generation. Therefore we are using a historical but correct version directly thru `npx` .
Once:
- Generate API Token as described in grens [README.md ](https://github.com/github-tools/github-release-notes )
- On Windows do `setx GREN_GITHUB_TOKEN <API TOKEN>` and restart your shell
Per release:
- Close all issues of the milestone or push them back to an open milestone
2019-09-04 21:47:55 +00:00
- Close the milestone
- Tag and push the repo
```shell
git tag < tag >
git push origin < tag >
```
- Generate CHANGELOG.md with _gren_
```shell
2021-07-01 18:26:24 +00:00
npx github-release-notes@0.17.1 changelog --tags=all --generate --override
2019-09-04 21:47:55 +00:00
```
- Add the changelog to git and update the tag
```shell
git add CHANGELOG.md
git commit -m "Ship tag < tag > "
2021-07-01 09:01:51 +00:00
git push origin main
2019-09-04 21:47:55 +00:00
git tag -f < tag >
git push --force origin < tag >
```
- Generate release with _gren_
```shell
2021-07-01 18:26:24 +00:00
npx github-release-notes@0.17.1 release --tags < tag >
2019-09-04 21:47:55 +00:00
```