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.
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
.
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
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
Many thanks to @vjeantet for the fork docdock. The v2 of this theme is mainly based on his work !
Somewhat work-in-progress steps to release with gren
Check all MRs assigned to the milestone are closed or pushed back to another release
Close the milestone
Check merged MRs on the milestone have a tag (Bug, Enhancement, etc.)
Tag and push the repo
git tag <tag>
git push origin <tag>
Generate CHANGELOG.md with gren
gren changelog --override --generate --tags=all
Fix the date for the current release in CHANGELOG.md
Add the changelog to git and update the tag
git add CHANGELOG.md
git commit -m "Ship tag <tag>"
git push origin master
git tag -f <tag>
git push --force origin <tag>
Generate release with gren
gren release -t <tag>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。