fork gomponents
10 files changed, 20 insertions(+), 20 deletions(-)
M go.mod → go.mod
@@ -27,9 +27,9 @@ github.com/snabb/sitemap v1.0.4 github.com/stefanfritsch/goldmark-fences v1.0.0 github.com/yuin/goldmark v1.7.8 gitlab.com/tozd/go/errors v0.10.0 + go.alanpearce.eu/gomponents v1.2.0 go.alanpearce.eu/x v0.0.0-20250213214218-1bdfdc914d6c go.uber.org/zap v1.27.0 - maragu.dev/gomponents v1.1.0 modernc.org/sqlite v1.36.0 )
M go.sum → go.sum
@@ -190,6 +190,8 @@ github.com/yuin/goldmark v1.7.8 h1:iERMLn0/QJeHFhxSt3p6PeN9mGnvIKSpG9YYorDMnic= github.com/yuin/goldmark v1.7.8/go.mod h1:uzxRWxtg69N339t3louHJ7+O03ezfj6PlliRlaOzY1E= gitlab.com/tozd/go/errors v0.10.0 h1:A98kL+gaDvWnY6ZB/u8zP+sYaWsWUGBHeFMtamvW/74= gitlab.com/tozd/go/errors v0.10.0/go.mod h1:q3Ugr0C8dCzMEkrzjjlV2qNsm9e0KvqBjwcbcjCpBe4= +go.alanpearce.eu/gomponents v1.2.0 h1:5SoLlMMc04xvLcmHVgnScjX1DzBM4mbwyTDa0cOPiD8= +go.alanpearce.eu/gomponents v1.2.0/go.mod h1:uX96UAsHCut1cKMAYVWWxQ9ADt1CAPI8LpyAu0LRQPs= go.alanpearce.eu/x v0.0.0-20250213214218-1bdfdc914d6c h1:4bmqdTMUSf5N5PX/8PbujwKfVu8bactVkRxoK1BDSg8= go.alanpearce.eu/x v0.0.0-20250213214218-1bdfdc914d6c/go.mod h1:tY0oD1bc264ETaBoFQ/tY8vl1T8tDmhIkU56xcqBYH8= go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ=@@ -344,8 +346,6 @@ gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= -maragu.dev/gomponents v1.1.0 h1:iCybZZChHr1eSlvkWp/JP3CrZGzctLudQ/JI3sBcO4U= -maragu.dev/gomponents v1.1.0/go.mod h1:oEDahza2gZoXDoDHhw8jBNgH+3UR5ni7Ur648HORydM= modernc.org/cc/v4 v4.24.4 h1:TFkx1s6dCkQpd6dKurBNmpo+G8Zl4Sq/ztJ+2+DEsh0= modernc.org/cc/v4 v4.24.4/go.mod h1:uVtb5OGqUKpoLWhqwNQo/8LwvoiEBLvZXIQ/SmO6mL0= modernc.org/ccgo/v4 v4.23.16 h1:Z2N+kk38b7SfySC1ZkpGLN2vthNJP1+ZzGZIlH7uBxo=
M gomod2nix.toml → gomod2nix.toml
@@ -196,6 +196,9 @@ hash = "sha256-SNJMPPiXkRDLVOldrHN0ErC3bUB2VoWaLDkd9zmMATw=" [mod."gitlab.com/tozd/go/errors"] version = "v0.10.0" hash = "sha256-oW37KsieVKJOWk9ZXbGuQvuU4nyJCZzgYrTZHFkoCs4=" + [mod."go.alanpearce.eu/gomponents"] + version = "v1.2.0" + hash = "sha256-pF+3We63loSMwhTUafgIdmBYc4cj5yVIVQRyaX1sWB4=" [mod."go.alanpearce.eu/x"] version = "v0.0.0-20250213214218-1bdfdc914d6c" hash = "sha256-6XdXMqWwY8rk3i+HUb9wd0idoqh4GXqC6x1NZZC1O6M="@@ -226,9 +229,6 @@ hash = "sha256-ATVL9yEmgYbkJ1DkltDGRn/auGAjqGOfjQyBYyUo8s8=" [mod."gopkg.in/yaml.v2"] version = "v2.4.0" hash = "sha256-uVEGglIedjOIGZzHW4YwN1VoRSTK8o0eGZqzd+TNdd0=" - [mod."maragu.dev/gomponents"] - version = "v1.1.0" - hash = "sha256-Nu95Iy1gy0NsjSsGjihuC2k8IrMpSXboWtEm9cyyY2g=" [mod."modernc.org/libc"] version = "v1.61.13" hash = "sha256-hXpwqDrTCUDmicfa1CfS62e4K/M6uOlv06xY1kxEYEY="
M templates/error.go → templates/error.go
@@ -5,8 +5,8 @@ "strconv" "go.alanpearce.eu/homestead/internal/http" - g "maragu.dev/gomponents" - . "maragu.dev/gomponents/html" + g "go.alanpearce.eu/gomponents" + . "go.alanpearce.eu/gomponents/html" ) func Error(site SiteSettings, err *http.Error) g.Node {
M templates/homepage.go → templates/homepage.go
@@ -4,8 +4,8 @@ import ( "go.alanpearce.eu/homestead/internal/config" "go.alanpearce.eu/homestead/internal/content" - g "maragu.dev/gomponents" - . "maragu.dev/gomponents/html" + g "go.alanpearce.eu/gomponents" + . "go.alanpearce.eu/gomponents/html" ) type HomepageVars struct {
M templates/layout.go → templates/layout.go
@@ -3,8 +3,8 @@ import ( "go.alanpearce.eu/homestead/internal/config" - g "maragu.dev/gomponents" - . "maragu.dev/gomponents/html" + g "go.alanpearce.eu/gomponents" + . "go.alanpearce.eu/gomponents/html" ) type SiteSettings struct {
M templates/list.go → templates/list.go
@@ -3,8 +3,8 @@ import ( "go.alanpearce.eu/homestead/internal/content" - g "maragu.dev/gomponents" - . "maragu.dev/gomponents/html" + g "go.alanpearce.eu/gomponents" + . "go.alanpearce.eu/gomponents/html" ) type TagPageVars struct {
M templates/page.go → templates/page.go
@@ -3,8 +3,8 @@ import ( "go.alanpearce.eu/homestead/internal/content" - g "maragu.dev/gomponents" - . "maragu.dev/gomponents/html" + g "go.alanpearce.eu/gomponents" + . "go.alanpearce.eu/gomponents/html" ) func Page(site SiteSettings, page *content.Post) g.Node {
M templates/post.go → templates/post.go
@@ -6,8 +6,8 @@ "go.alanpearce.eu/homestead/internal/content" "go.alanpearce.eu/homestead/internal/vcs" - g "maragu.dev/gomponents" - . "maragu.dev/gomponents/html" + g "go.alanpearce.eu/gomponents" + . "go.alanpearce.eu/gomponents/html" ) func PostPage(site SiteSettings, post *content.Post) g.Node {