From 0bad73a3879bf1ba5f359f9c16dc457f721337b1 Mon Sep 17 00:00:00 2001 From: "Zed A. Shaw" Date: Wed, 10 Sep 2025 10:39:26 -0400 Subject: [PATCH] Move to the new /go URL. --- go.mod | 4 ++-- go.sum | 4 ++-- pages/docs.md | 6 +++--- pages/examples/gitea.html | 2 +- pages/examples/index.html | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/go.mod b/go.mod index 947cbdd..83ac141 100644 --- a/go.mod +++ b/go.mod @@ -104,7 +104,7 @@ require ( google.golang.org/protobuf v1.36.8 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect howett.net/plist v1.0.1 // indirect - lcthw.dev/learn-code-the-hard-way/ssgod v0.0.0-20250906145440-d25a1ec1f3d0 // indirect + lcthw.dev/go/ssgod v0.0.0-20250910143122-4457e9bad2af // indirect modernc.org/libc v1.66.3 // indirect modernc.org/mathutil v1.7.1 // indirect modernc.org/memory v1.11.0 // indirect @@ -116,5 +116,5 @@ tool ( github.com/pressly/goose/v3/cmd/goose golang.org/x/pkgsite/cmd/pkgsite golang.org/x/tools/cmd/goimports - lcthw.dev/learn-code-the-hard-way/ssgod + lcthw.dev/go/ssgod ) diff --git a/go.sum b/go.sum index 05fc992..da017fb 100644 --- a/go.sum +++ b/go.sum @@ -426,8 +426,8 @@ honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWh howett.net/plist v0.0.0-20181124034731-591f970eefbb/go.mod h1:vMygbs4qMhSZSc4lCUl2OEE+rDiIIJAIdR4m7MiMcm0= howett.net/plist v1.0.1 h1:37GdZ8tP09Q35o9ych3ehygcsL+HqKSwzctveSlarvM= howett.net/plist v1.0.1/go.mod h1:lqaXoTrLY4hg8tnEzNru53gicrbv7rrk+2xJA/7hw9g= -lcthw.dev/learn-code-the-hard-way/ssgod v0.0.0-20250906145440-d25a1ec1f3d0 h1:wTgjKvJJFdKUZv/PtMsVvd0d73PRSYqOXym1ST36E0w= -lcthw.dev/learn-code-the-hard-way/ssgod v0.0.0-20250906145440-d25a1ec1f3d0/go.mod h1:Ev0nfYtAQY4G5ojoaFTpD7AVEw1iBiBt7FOSxR8tHaQ= +lcthw.dev/go/ssgod v0.0.0-20250910143122-4457e9bad2af h1:PN/XR1qhfxTn32AGOdQgyBPJs0qqnWVLcPxE5IUENgM= +lcthw.dev/go/ssgod v0.0.0-20250910143122-4457e9bad2af/go.mod h1:c0cAznS0qaDUOIGU8nKODfuFLwemEi/KGDCf8guTleA= modernc.org/cc/v4 v4.26.2 h1:991HMkLjJzYBIfha6ECZdjrIYz2/1ayr+FL8GN+CNzM= modernc.org/cc/v4 v4.26.2/go.mod h1:uVtb5OGqUKpoLWhqwNQo/8LwvoiEBLvZXIQ/SmO6mL0= modernc.org/ccgo/v4 v4.28.0 h1:rjznn6WWehKq7dG4JtLRKxb52Ecv8OUGah8+Z/SfpNU= diff --git a/pages/docs.md b/pages/docs.md index 413804b..64fcf12 100644 --- a/pages/docs.md +++ b/pages/docs.md @@ -20,7 +20,7 @@ Currently I'm using the following components in a tastefully crafted stack simil reject the `@apply` slander and use `@apply` to give you nice things. * [Alpine.js](https://alpinejs.dev/) -- This gives you just enough reactivity to not be annoyed, but not so much that you hate the web. -* [ssgod](https://git.learnjsthehardway.com/learn-code-the-hard-way/ssgod) -- A static site +* [ssgod](https://lcthw.dev/go/ssgod) -- A static site generator I wrote that _only_ does static site generation. * [chromedp](https://github.com/chromedp/chromedp) -- This does your automated testing for you. @@ -46,7 +46,7 @@ You can get use this project working by doing this: ```shell git clone \ - https://git.learnjsthehardway.com/learn-code-the-hard-way/go-web-starter-kit.git my-project + https://lcthw.dev/go/go-web-starter-kit.git my-project cd my-project ``` @@ -86,7 +86,7 @@ There's 3 basic moving parts to the whole system: `webapp.exe`, `ssgod`, `tailw You can configure the `webapp.exe` using the `config.toml` which you copied over from `config_example.toml`. The options are fairly self-explanatory. -You can configure [ssgod](https://git.learnjsthehardway.com/learn-code-the-hard-way/ssgod) using the +You can configure [ssgod](https://lcthw.dev/go/ssgod) using the `ssgod.toml` file. You'll notice that there's _two_ layouts with this setup, one for `webapp.exe` and another for `ssgod`. You can just point `ssgod` at your `views/layouts/main.html` file if you want, but it seems people want two different layouts for their static site vs. "the app." diff --git a/pages/examples/gitea.html b/pages/examples/gitea.html index 4a5f713..35c886d 100644 --- a/pages/examples/gitea.html +++ b/pages/examples/gitea.html @@ -8,7 +8,7 @@ diff --git a/pages/examples/index.html b/pages/examples/index.html index 1786225..dc0db5a 100644 --- a/pages/examples/index.html +++ b/pages/examples/index.html @@ -18,7 +18,7 @@

View the Code

-

You can view this code at my git repository. The copies can be found in pages/copy and the tool I use to generate the pages is one I wrote called ssgod. +

You can view this code at my git repository. The copies can be found in pages/copy and the tool I use to generate the pages is one I wrote called ssgod.