Skip to content

Commit 27b99f0

Browse files
authored
Add warning: the theme is not working with Hugo version 0.22+
1 parent aacdba8 commit 27b99f0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ $ cd themes
1111
$ git clone https://github.com/matcornic/hugo-theme-learn.git
1212
```
1313

14-
Check that your Hugo version is minimum `0.19` with `hugo version`.
14+
Check that your Hugo version is between `0.19` and `0.21` with `hugo version`.
15+
16+
> From `0.22`, Hugo team introduced a long awaited feature: [nested sections](https://github.com/gohugoio/hugo/issues/465). As Hugo team deleted some functions on which this theme was based on, **this theme fails with current Hugo version**. A complete rewrite is needed and is [currently under construction](https://github.com/matcornic/hugo-theme-learn/issues/51). Be aware that this new version will possibly make breaking changes.
17+
18+
> Until the v2 is not out yet, feel free to check [Docdock](https://github.com/vjeantet/hugo-theme-docdock), a great fork of hugo-learn-theme by [@vjeantet](https://github.com/vjeantet) that works and embraces latest features of Hugo!
1519
1620
![Overview](https://github.com/matcornic/hugo-theme-learn/raw/master/images/tn.png)
1721

0 commit comments

Comments
 (0)