Update to use the new /go url.

master
Zed A. Shaw 7 hours ago
parent 4a67610ba3
commit 573b693672
  1. 3
      Makefile
  2. 4
      go.mod
  3. 4
      go.sum
  4. 2
      pages/examples/gitea.html
  5. 2
      pages/examples/index.html
  6. 6
      pages/index.md

@ -4,9 +4,6 @@ ifeq '$(OS)' 'Windows_NT'
GO_IS_STUPID_EXE=.exe
endif
all: tailwind site
echo "yay!"
build:
go build .

@ -113,7 +113,7 @@ require (
google.golang.org/protobuf v1.36.6 // 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
@ -126,5 +126,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
)

@ -560,8 +560,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=

@ -8,7 +8,7 @@
<block class="gap-10">
<div class="flex text-2xl gap-4">
<img src="/icons/baby.svg" />
<a href="#">learn-code-the-hard-way</a> / <a href="#">ssgod</a>
<a href="#">go</a> / <a href="#">ssgod</a>
</div>
<bar>

@ -18,7 +18,7 @@
</ul>
<h2 class="pb-8">View the Code</h2>
<p>You can view this code at <a class="text-gray-950 bg-gray-300" href="https://lcthw.dev/learn-code-the-hard-way/go-web-starter-kit">my git repository</a>. The copies can be found in <a class="text-gray-950 bg-gray-300" href="https://lcthw.dev/learn-code-the-hard-way/zedshaw-games/src/branch/main/pages/copy">pages/copy</a> and the tool I use to generate the pages is one I wrote called <a class="text-gray-950 bg-gray-300" href="https://lcthw.dev/learn-code-the-hard-way/ssgod">ssgod</a>.
<p>You can view this code at <a class="text-gray-950 bg-gray-300" href="https://lcthw.dev/go/go-web-starter-kit">my git repository</a>. The copies can be found in <a class="text-gray-950 bg-gray-300" href="https://lcthw.dev/go/zedshaw-games/src/branch/main/pages/copy">pages/copy</a> and the tool I use to generate the pages is one I wrote called <a class="text-gray-950 bg-gray-300" href="https://lcthw.dev/go/ssgod">ssgod</a>.
</p>
</main>

@ -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://lcthw.dev/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://lcthw.dev/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
```
@ -88,7 +88,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://lcthw.dev/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."

Loading…
Cancel
Save