Skip to content

Commit 359f424

Browse files
committed
Use hugo-redirect as a module
Signed-off-by: Andrea Frittoli <[email protected]>
1 parent 8b88cc6 commit 359f424

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

.gitmodules

Lines changed: 0 additions & 3 deletions
This file was deleted.

config.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title = "CDEvents"
44
enableRobotsTXT = true
55

66
# Hugo allows theme composition (and inheritance). The precedence is from left to right.
7-
theme = ["hugo-redirect", "github.com/google/docsy", "github.com/google/docsy/dependencies"]
7+
theme = ["github.com/gcc42/hugo-redirect", "github.com/google/docsy", "github.com/google/docsy/dependencies"]
88

99
# Will give values to .Lastmod etc.
1010
enableGitInfo = true
@@ -226,4 +226,4 @@ enable = false
226226
disable = false
227227
[[module.imports]]
228228
path = "github.com/google/docsy/dependencies"
229-
disable = false
229+
disable = false

go.mod

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,7 @@ module github.com/cdevents/cdevents.dev
22

33
go 1.19
44

5-
require github.com/google/docsy v0.5.1 // indirect
5+
require (
6+
github.com/gcc42/hugo-redirect v0.0.0-20210314201228-debb2475769e // indirect
7+
github.com/google/docsy v0.5.1 // indirect
8+
)

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
github.com/FortAwesome/Font-Awesome v0.0.0-20220831210243-d3a7818c253f/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo=
2+
github.com/gcc42/hugo-redirect v0.0.0-20210314201228-debb2475769e h1:+skZRwLA1TabEKu6HYRe81LDuBJRjGLwqjV5b7kNmp4=
3+
github.com/gcc42/hugo-redirect v0.0.0-20210314201228-debb2475769e/go.mod h1:LaglyHbGsU53Dqrberu7L+40I4/lSqeRrLib/lLa8ow=
24
github.com/google/docsy v0.5.1 h1:D/ZdFKiE29xM/gwPwQzmkyXhcbQGkReRS6aGrF7lnYk=
35
github.com/google/docsy v0.5.1/go.mod h1:maoUAQU5H/d+FrZIB4xg1EVWAx7RyFMGSDJyWghm31E=
46
github.com/google/docsy/dependencies v0.5.1/go.mod h1:EDGc2znMbGUw0RW5kWwy2oGgLt0iVXBmoq4UOqstuNE=

themes/hugo-redirect

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

0 commit comments

Comments
 (0)