theme: make it a Hugo module #417

This commit is contained in:
Sören Weber 2022-12-14 22:17:43 +01:00
parent 8cf28e787c
commit d2e2bbcf78
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D
3 changed files with 10 additions and 1 deletions

View file

@ -15,7 +15,7 @@ hugo new site <new_project>
## Install the theme
Install the Relearn theme by following [this documentation](https://gohugo.io/getting-started/quick-start/#step-3-add-a-theme)
Install the Relearn theme by following [this documentation](https://gohugo.io/hugo-modules/use-modules/#use-a-module-for-a-theme) using Hugo's module system.
This theme's repository is: https://github.com/McShelby/hugo-theme-relearn.git

View file

@ -14,6 +14,12 @@ This document shows you what's new in the latest release. For a detailed list of
---
## 5.9.0 (not yet released)
- {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} The theme now supports [Hugo's module system](https://gohugo.io/hugo-modules/).
---
## 5.8.0 (2022-12-08)
- {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} The new [`badge` shortcode]({{% relref "shortcodes/badge" %}}) is now available to add highly configurable markers to your content as you can see it on this page.

3
go.mod Normal file
View file

@ -0,0 +1,3 @@
module github.com/McShelby/hugo-theme-relearn
go 1.18