mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-01-31 08:57:15 +00:00
A theme for Hugo designed for documentation
7aa1e70638
* fix menu ordering when mixing chapters and non-chapters * allow for `chapter` type override in `_index` pages * fix breadcrumbs * fix some crashes with empty categories * use page context in list.html (to avoid setting uniqueid in scratch) * use UniqueID instead of relative links for page identification |
||
---|---|---|
archetypes | ||
images | ||
layouts | ||
static | ||
.gitignore | ||
LICENSE.md | ||
README.md | ||
theme.toml |
Hugo Learn Theme
This repository contains a theme for Hugo, based on great Grav Learn Theme.
Visit the theme documentation to see what is going on. It is actually built with this theme.
Installation
Navigate to your themes folder in your Hugo site and use the following commands:
$ cd themes
$ git clone https://github.com/matcornic/hugo-theme-learn.git
Usage
Main functionalities
- Handle two levels of documentation
- Tip/Note/Info and Warning boxes
- Resize images
- Preview of original image size
- Add shadow or border on images
- Automatic table of contents
- Create buttons (typically used to provide a link to a demo)
- Search using
lunr
index