2021-06-30 12:56:06 +00:00
# Hugo Relearn Theme
2016-03-17 11:05:36 +00:00
2023-02-10 23:03:31 +00:00
A theme for [Hugo ](https://gohugo.io/ ) designed for documentation.
2023-02-10 21:16:59 +00:00
[★ What's new in the latest release ★ ](https://mcshelby.github.io/hugo-theme-relearn/basics/migration )
2018-08-10 09:29:11 +00:00
2023-02-10 21:38:45 +00:00
![Image of the Relearn theme in light and dark mode on phone, tablet and desktop ](https://github.com/McShelby/hugo-theme-relearn/raw/main/images/hero.png )
2021-07-01 12:35:27 +00:00
2021-08-23 16:54:02 +00:00
## Motivation
2023-10-30 20:58:38 +00:00
The Relearn 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 adapting to latest Hugo features. As far as possible this theme tries to be a drop-in replacement for the Learn theme.
2021-08-23 16:54:02 +00:00
2022-12-14 21:46:59 +00:00
## Features
2017-08-20 16:20:13 +00:00
2023-02-10 21:16:59 +00:00
- **Wide set of usage scenarios**
- Responsive design for mobile usage
2023-09-23 23:29:41 +00:00
- Looks nice on paper (if it has to)
2023-02-10 21:16:59 +00:00
- Usable offline, no external dependencies
2024-02-24 15:52:53 +00:00
- [Usable from your local file system via `file://` protocol ](https://mcshelby.github.io/hugo-theme-relearn/basics/customization#file-system )
2023-02-19 23:20:37 +00:00
- Support for the [VSCode Front Matter extension ](https://github.com/estruyf/vscode-front-matter ) for on-premise CMS capabilities
2023-02-10 21:16:59 +00:00
- Support for Internet Explorer 11
2023-11-20 23:53:33 +00:00
- [Support for Open Graph and Twitter Cards ](https://mcshelby.github.io/hugo-theme-relearn/basics/customization#social-media-meta-tags )
2023-02-10 21:16:59 +00:00
- **Configurable theming and visuals**
2023-11-29 19:46:56 +00:00
- [Configurable brand images ](https://mcshelby.github.io/hugo-theme-relearn/basics/branding#change-the-logo )
- [Automatic switch for light/dark variant dependend on your OS settings ](https://mcshelby.github.io/hugo-theme-relearn/basics/branding#adjust-to-os-settings )
2023-02-10 21:16:59 +00:00
- Predefined light, dark and color variants
2023-11-29 19:46:56 +00:00
- [User selectable variants ](https://mcshelby.github.io/hugo-theme-relearn/basics/branding#multiple-variants )
2023-02-10 21:16:59 +00:00
- [Stylesheet generator ](https://mcshelby.github.io/hugo-theme-relearn/basics/generator )
2023-06-21 23:22:08 +00:00
- [Configurable syntax highlighting ](https://mcshelby.github.io/hugo-theme-relearn/shortcodes/highlight )
2023-02-10 21:16:59 +00:00
- **Unique theme features**
2023-11-20 23:53:33 +00:00
- [Print whole chapters or even the complete site ](https://mcshelby.github.io/hugo-theme-relearn/basics/customization#activate-print-support )
2023-02-10 21:16:59 +00:00
- In page search
2023-11-20 23:53:33 +00:00
- [Site search ](https://mcshelby.github.io/hugo-theme-relearn/basics/customization#activate-search )
- [Dedicated search page ](https://mcshelby.github.io/hugo-theme-relearn/basics/customization#activate-dedicated-search-page )
2023-05-26 06:35:27 +00:00
- [Taxonomy support ](https://mcshelby.github.io/hugo-theme-relearn/cont/taxonomy )
2023-09-23 23:23:45 +00:00
- [Configurable topbar buttons ](https://mcshelby.github.io/hugo-theme-relearn/basics/topbar )
- [Unlimited nested menu items ](https://mcshelby.github.io/hugo-theme-relearn/cont/pages )
2023-02-10 21:16:59 +00:00
- [Configurable shortcut links ](https://mcshelby.github.io/hugo-theme-relearn/cont/menushortcuts )
2023-09-23 23:23:45 +00:00
- Hidden pages
2023-02-10 21:16:59 +00:00
- **Multi language support**
- [Full support for languages written right to left ](https://mcshelby.github.io/hugo-theme-relearn/cont/i18n )
2023-10-02 07:57:37 +00:00
- [Available languages ](https://mcshelby.github.io/hugo-theme-relearn/cont/i18n#basic-configuration ): Arabic, Simplified Chinese, Traditional Chinese, Czech, Dutch, English, Finnish, French, German, Hindi, Hungarian, Indonesian, Italian, Japanese, Korean, Polish, Portuguese, Russian, Spanish, Swahili, Turkish, Vietnamese
2023-02-10 21:16:59 +00:00
- [Search support for mixed language content ](https://mcshelby.github.io/hugo-theme-relearn/cont/i18n#search )
- **Additional Markdown features**
2023-10-30 22:10:34 +00:00
- [Support for GFM (GitHub Flavored Markdown) ](https://mcshelby.github.io/hugo-theme-relearn/cont/markdown )
2023-08-25 17:09:50 +00:00
- [Image effects like sizing, shadow, border and alignment ](https://mcshelby.github.io/hugo-theme-relearn/cont/markdown#image-effects )
- [Image lightbox ](https://mcshelby.github.io/hugo-theme-relearn/cont/markdown#lightbox )
2023-02-10 21:16:59 +00:00
- **Shortcodes galore**
2024-02-29 19:45:01 +00:00
- [Display resources contained in a page bundle ](https://mcshelby.github.io/hugo-theme-relearn/shortcodes/resources )
2023-02-10 21:16:59 +00:00
- [Marker badges ](https://mcshelby.github.io/hugo-theme-relearn/shortcodes/badge )
- [Configurable buttons ](https://mcshelby.github.io/hugo-theme-relearn/shortcodes/button )
- [List child pages ](https://mcshelby.github.io/hugo-theme-relearn/shortcodes/children )
- [Expand areas to reveal content ](https://mcshelby.github.io/hugo-theme-relearn/shortcodes/expand )
- [Font Awesome icons ](https://mcshelby.github.io/hugo-theme-relearn/shortcodes/icon )
- [Inclusion of other files ](https://mcshelby.github.io/hugo-theme-relearn/shortcodes/include )
- [Math and chemical formulae using MathJax ](https://mcshelby.github.io/hugo-theme-relearn/shortcodes/math )
- [Mermaid diagrams for flowcharts, sequences, gantts, pie, etc. ](https://mcshelby.github.io/hugo-theme-relearn/shortcodes/mermaid )
- [Colorful boxes ](https://mcshelby.github.io/hugo-theme-relearn/shortcodes/notice )
2023-05-23 13:27:55 +00:00
- [OpenAPI specifications using Swagger UI ](https://mcshelby.github.io/hugo-theme-relearn/shortcodes/openapi )
2023-02-10 21:16:59 +00:00
- [Reveal you site's configuration parameter ](https://mcshelby.github.io/hugo-theme-relearn/shortcodes/siteparam )
2023-05-23 21:57:48 +00:00
- [Single tabbed panels ](https://mcshelby.github.io/hugo-theme-relearn/shortcodes/tab ) and [multiple tabbed panels ](https://mcshelby.github.io/hugo-theme-relearn/shortcodes/tabs )
2023-02-10 21:16:59 +00:00
## Installation & Usage
For a detailed description of the theme's capabilities visit the [official documentation ](https://mcshelby.github.io/hugo-theme-relearn/ ).
2017-08-20 23:29:54 +00:00
2021-08-22 11:31:52 +00:00
## Changelog
2023-02-10 21:16:59 +00:00
See the [What's New ](https://mcshelby.github.io/hugo-theme-relearn/basics/migration ) page for release highlights or the detailed [change history ](https://mcshelby.github.io/hugo-theme-relearn/basics/history ) for a complete list of changes.
2021-08-22 11:31:52 +00:00
2023-02-10 21:16:59 +00:00
## Contributions
2021-08-30 20:30:00 +00:00
2023-02-10 21:38:45 +00:00
You are most welcome to contribute bugfixes or new features. Check the [contribution guidelines ](https://mcshelby.github.io/hugo-theme-relearn/dev/contributing ) first before starting.
2021-08-30 20:30:00 +00:00
2021-07-01 12:35:27 +00:00
## License
2017-08-20 23:29:54 +00:00
2023-02-10 21:16:59 +00:00
The Relearn theme is licensed under the [MIT License ](https://github.com/McShelby/hugo-theme-relearn/blob/main/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
2023-02-10 21:16:59 +00:00
This theme would not be possible without the work of [many others ](https://mcshelby.github.io/hugo-theme-relearn/more/credits ).