Skip to content

Commit 9b335e2

Browse files
committed
refactor: Use Hugo module for theme
1 parent 092050f commit 9b335e2

File tree

5 files changed

+10
-5
lines changed

5 files changed

+10
-5
lines changed

.gitmodules

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
[submodule "themes/beautifulhugo"]
2-
path = themes/beautifulhugo
3-
url = https://github.com/henribru/beautifulhugo.git

config.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,16 @@ title = "Norwegian Language Learning"
66
canonifyurls = false
77

88
DefaultContentLanguage = "en"
9-
theme = "beautifulhugo"
109
metaDataFormat = "yaml"
1110
pygmentsUseClasses = true
1211
pygmentCodeFences = true
1312
#disqusShortname = "XXX"
1413
#googleAnalytics = "XXX"
1514
enableRobotsTXT = true
1615

16+
[[module.imports]]
17+
path = "github.com/halogenica/beautifulhugo"
18+
1719
[security]
1820
enableInlineShortcodes = false
1921

go.mod

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module github.com/NLLCommunity/nllcommunity.github.io
2+
3+
go 1.24.5
4+
5+
require github.com/halogenica/beautifulhugo v0.0.0-20250508050025-e69e25d4ca0d // indirect

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
github.com/halogenica/beautifulhugo v0.0.0-20250508050025-e69e25d4ca0d h1:H3Gf3B7nxMscrz+v7fn+PavLMUR+vCpcRJpzCAZy57A=
2+
github.com/halogenica/beautifulhugo v0.0.0-20250508050025-e69e25d4ca0d/go.mod h1:4dwHt6njigk+fr9W3Bg+OflL4LKzkjbXAULXvr3mYLs=

themes/beautifulhugo

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)