2021-06-30 14:56:06 +02:00
# Hugo Relearn Theme
2016-03-17 12:05:36 +01:00
2021-08-28 10:39:54 +02:00
A theme for [Hugo ](https://gohugo.io/ ) designed for documentation.
2018-08-10 11:29:11 +02:00
2021-07-01 16:25:08 +02:00
![Overview ](https://github.com/McShelby/hugo-theme-relearn/raw/main/images/screenshot.png )
2021-07-01 14:35:27 +02:00
2021-08-23 18:54:02 +02:00
## Motivation
2021-10-24 13:01:01 +02:00
The theme is a fork of the great [Learn theme ](https://github.com/matcornic/hugo-theme-learn ) with the aim of fixing long outstanding bugs and adepting to latest Hugo features. As far as possible this theme tries to be a drop-in replacement for the Learn theme.
2021-08-23 18:54:02 +02:00
2017-08-20 18:20:13 +02:00
## Main features
2022-03-27 22:22:10 +02:00
- Usable offline, no external dependencies
2022-11-17 23:52:54 +01:00
- Usable without a HTTP server from the file system
2022-04-11 11:04:14 +02:00
- Support for Internet Explorer 11
- Responsive design
- Configurable hidden pages
- Automatic next/prev buttons to navigate through menu entries
2017-08-20 18:20:13 +02:00
- Automatic Search
2022-11-17 23:52:54 +01:00
- Dedicated search page
2022-12-02 16:20:45 +01:00
- Support for GFM (GitHub Flavored Markdown)
2022-04-02 15:29:34 +02:00
- Print whole chapters or even the complete site
2022-10-31 15:05:33 +01:00
- Multilingual mode for English, Arabic, Simplified Chinese, Traditional Chinese, Dutch, Finnish (Suomi), French, German, Hindi, Indonesian, Italian, Japanese, Korean, Polish, Portuguese, Russian, Spanish, Turkish, Vietnamese
2022-11-01 02:10:05 +01:00
- Support for languages written right to left
2022-04-11 11:04:14 +02:00
- Unrestricted menu configuration relating to amount of items and level of nesting
- Font Awesome icons
- Tagging support
2017-08-20 18:20:13 +02:00
- Image resizing, shadow…
2022-04-11 11:04:14 +02:00
- Syntax highlighting
2017-08-20 18:20:13 +02:00
- Attachments files
- List child pages
2022-07-02 14:00:23 +02:00
- Math and chemical formulae using the MathJax library
2022-04-11 11:04:14 +02:00
- Mermaid diagrams for flowcharts, sequences, gantts, pie, etc.
2022-03-27 18:42:11 +02:00
- Swagger UI for OpenAPI Specifications
2022-03-15 20:59:24 +01:00
- Customizable look and feel
2022-03-16 07:59:25 +01:00
- Predefined (light, dark) and customizable color variants
2022-12-01 01:44:20 +01:00
- Badges
2021-08-28 10:39:54 +02:00
- Buttons
- Tip/Note/Info/Warning boxes
- Expand
- Tabs
- File inclusion
2016-12-30 22:40:05 +01:00
## Installation
2017-08-20 18:20:13 +02:00
2021-10-17 23:37:32 +02:00
Visit the [installation instructions ](https://mcshelby.github.io/hugo-theme-relearn/basics/installation ) to learn how to setup the theme in your Hugo installation.
2017-04-08 10:30:09 +02:00
2016-12-30 22:40:05 +01:00
## Usage
2021-10-17 23:37:32 +02:00
Visit the [documentation ](https://mcshelby.github.io/hugo-theme-relearn/ ) to learn about all available features and how to use them.
2017-08-21 01:29:54 +02:00
2021-08-22 13:31:52 +02:00
## Changelog
2021-10-17 23:37:32 +02:00
See the [changelog ](https://mcshelby.github.io/hugo-theme-relearn/basics/history ) for a complete list of releases.
2021-08-22 13:31:52 +02:00
2021-08-30 22:30:00 +02:00
## Contribution
2021-10-19 17:24:10 +02:00
You are most welcome to contribute to the source code but please visit the [contribution guidelines ](https://github.com/McShelby/hugo-theme-relearn/blob/main/.github/contributing.md ) first.
2021-08-30 22:30:00 +02:00
2021-07-01 14:35:27 +02:00
## License
2017-08-21 01:29:54 +02:00
2021-08-28 11:18:43 +02:00
This theme is licensed under the [MIT License ](https://github.com/McShelby/hugo-theme-relearn/blob/main/LICENSE ).
2018-07-24 07:45:37 -07:00
2021-07-01 14:35:27 +02:00
## Credits
2019-09-04 22:47:55 +01:00
2021-08-23 18:54:02 +02:00
Special thanks to [everyone who has contributed ](https://github.com/McShelby/hugo-theme-relearn/graphs/contributors ) to this project.
2021-07-01 14:57:26 +02:00
2022-03-06 19:09:58 +01:00
Many thanks to [Mathieu Cornic ](https://github.com/matcornic ) for his work on porting the [Learn theme ](https://github.com/matcornic/hugo-theme-learn ) to Hugo.
Many thanks to [Andy Miller ](https://github.com/rhukster ) for initially creating the [Learn theme ](https://github.com/getgrav/grav-theme-learn2 ) for Grav.