Skip to content

Commit

Permalink
perf(hugopress): include partials directly (#34)
Browse files Browse the repository at this point in the history
chore: update modules
  • Loading branch information
razonyang committed Jun 15, 2024
1 parent 611e6c4 commit 7af9331
Show file tree
Hide file tree
Showing 33 changed files with 40 additions and 9 deletions.
2 changes: 2 additions & 0 deletions modules/alternatives/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
module github.com/hugomods/seo/modules/alternatives

go 1.18

require github.com/hugomods/hugopress v0.4.1 // indirect
2 changes: 2 additions & 0 deletions modules/alternatives/go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github.com/hugomods/hugopress v0.4.1 h1:0wfSqY8+SehXLkBo0BSf2uMsBfnFBYOQJSmU72958+s=
github.com/hugomods/hugopress v0.4.1/go.mod h1:CRYvr60xOkZOf4Atkuj+uEj2EH5pjJ39Ws3aJAkoMkA=
1 change: 1 addition & 0 deletions modules/alternatives/hugo.toml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
[params.hugopress.modules.seo-alternatives.hooks.head-begin]
partial = "seo/modules/alternatives/index"

This file was deleted.

2 changes: 2 additions & 0 deletions modules/base/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
module github.com/hugomods/seo/modules/base

go 1.18

require github.com/hugomods/hugopress v0.4.1 // indirect
2 changes: 2 additions & 0 deletions modules/base/go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github.com/hugomods/hugopress v0.4.1 h1:0wfSqY8+SehXLkBo0BSf2uMsBfnFBYOQJSmU72958+s=
github.com/hugomods/hugopress v0.4.1/go.mod h1:CRYvr60xOkZOf4Atkuj+uEj2EH5pjJ39Ws3aJAkoMkA=
1 change: 1 addition & 0 deletions modules/base/hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
cacheable = true

[params.hugopress.modules.seo-base.hooks.head-begin]
partial = "seo/modules/base/index"

This file was deleted.

1 change: 1 addition & 0 deletions modules/favicons/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ module github.com/hugomods/seo/modules/favicons

go 1.18

require github.com/hugomods/hugopress v0.4.1 // indirect
2 changes: 2 additions & 0 deletions modules/favicons/go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github.com/hugomods/hugopress v0.4.1 h1:0wfSqY8+SehXLkBo0BSf2uMsBfnFBYOQJSmU72958+s=
github.com/hugomods/hugopress v0.4.1/go.mod h1:CRYvr60xOkZOf4Atkuj+uEj2EH5pjJ39Ws3aJAkoMkA=
1 change: 1 addition & 0 deletions modules/favicons/hugo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[params.hugopress.modules.seo-favicons.hooks.head-begin]
cacheable = true
partial = "seo/modules/favicons/index"

[params.seo.favicons]
icon = "favicon.png"
Expand Down

This file was deleted.

2 changes: 2 additions & 0 deletions modules/json-ld/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
module github.com/hugomods/seo/modules/json-ld

go 1.18

require github.com/hugomods/hugopress v0.4.1 // indirect
2 changes: 2 additions & 0 deletions modules/json-ld/go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github.com/hugomods/hugopress v0.4.1 h1:0wfSqY8+SehXLkBo0BSf2uMsBfnFBYOQJSmU72958+s=
github.com/hugomods/hugopress v0.4.1/go.mod h1:CRYvr60xOkZOf4Atkuj+uEj2EH5pjJ39Ws3aJAkoMkA=
2 changes: 2 additions & 0 deletions modules/json-ld/hugo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[params.hugopress.modules.seo-json-ld.hooks.head-begin]
partial = "seo/modules/json-ld/index"

[params.hugopress.modules.seo-json-ld.hooks.body-end]
partial = "seo/modules/json-ld/script"

This file was deleted.

This file was deleted.

2 changes: 2 additions & 0 deletions modules/open-graph/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
module github.com/hugomods/seo/modules/open-graph

go 1.18

require github.com/hugomods/hugopress v0.4.1 // indirect
2 changes: 2 additions & 0 deletions modules/open-graph/go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github.com/hugomods/hugopress v0.4.1 h1:0wfSqY8+SehXLkBo0BSf2uMsBfnFBYOQJSmU72958+s=
github.com/hugomods/hugopress v0.4.1/go.mod h1:CRYvr60xOkZOf4Atkuj+uEj2EH5pjJ39Ws3aJAkoMkA=
1 change: 1 addition & 0 deletions modules/open-graph/hugo.toml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
[params.hugopress.modules.seo-open-graph.hooks.head-begin]
partial = "seo/modules/open-graph/index"

This file was deleted.

2 changes: 2 additions & 0 deletions modules/schema/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
module github.com/hugomods/seo/modules/schema

go 1.18

require github.com/hugomods/hugopress v0.4.1 // indirect
2 changes: 2 additions & 0 deletions modules/schema/go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github.com/hugomods/hugopress v0.4.1 h1:0wfSqY8+SehXLkBo0BSf2uMsBfnFBYOQJSmU72958+s=
github.com/hugomods/hugopress v0.4.1/go.mod h1:CRYvr60xOkZOf4Atkuj+uEj2EH5pjJ39Ws3aJAkoMkA=
1 change: 1 addition & 0 deletions modules/schema/hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
cacheable = true

[params.hugopress.modules.seo-schema.hooks.head-begin]
partial = "seo/modules/schema/index"

This file was deleted.

2 changes: 2 additions & 0 deletions modules/translations/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
module github.com/hugomods/seo/modules/translations

go 1.18

require github.com/hugomods/hugopress v0.4.1 // indirect
2 changes: 2 additions & 0 deletions modules/translations/go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github.com/hugomods/hugopress v0.4.1 h1:0wfSqY8+SehXLkBo0BSf2uMsBfnFBYOQJSmU72958+s=
github.com/hugomods/hugopress v0.4.1/go.mod h1:CRYvr60xOkZOf4Atkuj+uEj2EH5pjJ39Ws3aJAkoMkA=
1 change: 1 addition & 0 deletions modules/translations/hugo.toml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
[params.hugopress.modules.seo-translations.hooks.head-begin]
partial = "seo/modules/translations/index"

This file was deleted.

2 changes: 2 additions & 0 deletions modules/twitter-cards/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
module github.com/hugomods/seo/modules/twitter-cards

go 1.18

require github.com/hugomods/hugopress v0.4.1 // indirect
2 changes: 2 additions & 0 deletions modules/twitter-cards/go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github.com/hugomods/hugopress v0.4.1 h1:0wfSqY8+SehXLkBo0BSf2uMsBfnFBYOQJSmU72958+s=
github.com/hugomods/hugopress v0.4.1/go.mod h1:CRYvr60xOkZOf4Atkuj+uEj2EH5pjJ39Ws3aJAkoMkA=
1 change: 1 addition & 0 deletions modules/twitter-cards/hugo.toml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
[params.hugopress.modules.seo-twitter-cards.hooks.head-begin]
partial = "seo/modules/twitter-cards/index"

This file was deleted.

0 comments on commit 7af9331

Please sign in to comment.