mirror of
https://github.com/gomods/athens
synced 2026-02-03 11:00:32 +00:00
* Make athens banner smaller This helps people see that there is more content below the athens logo, otherwise the most prominent thing they see is the next arrow > and they miss our homepage content. * Make home link friendly for previews Right now when viewing a preview of our docs site, when I click on the home logo I end up on our live site. This makes the home logo go to the root of the current site instead, which is more friendly for testing docs locally or previewing a PR.
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.
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
- Buttons, Tip/Note/Info/Warning boxes, Expand
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
Check that your Hugo version is minimum 0.25 with hugo version.
Usage
Download old versions (prior to 2.0.0)
If you need old version for compatibility purpose, either download theme source code from releases or use the right git tag. For example, with 1.1.0
- Direct download way: https://github.com/matcornic/hugo-theme-learn/archive/1.1.0.zip
- Git way:
cd themes/hugo-theme-learn
git checkout tags/1.1.0
For both solutions, the documentation is available at https://github.com/matcornic/hugo-theme-learn/releases/download/1.1.0/hugo-learn-doc-1.1.0.zip
Credits
Many thanks to @vjeantet for the fork docdock. The v2 of this theme is mainly based on his work !
