1
0
Fork
You've already forked blog
0
No description
  • Go 35.9%
  • templ 33.9%
  • Python 19.7%
  • CSS 6.1%
  • Shell 1.7%
  • Other 2.7%
Frederick Mannings bb5b72943d
general updates
2026年06月10日 13:29:02 +01:00
bin/tailwind general update of everything 2026年06月09日 19:12:35 +01:00
content general updates 2026年06月10日 13:29:02 +01:00
internal added text copying 2026年06月10日 07:36:03 +01:00
scripts added new plot 2026年04月04日 22:14:19 +01:00
static General updates to the about page 2026年06月10日 13:21:24 +01:00
view general updates 2026年06月10日 13:29:02 +01:00
.air.toml general updates 2026年06月10日 13:29:02 +01:00
.gitignore added text copying 2026年06月10日 07:36:03 +01:00
app.css General updates to the about page 2026年06月10日 13:21:24 +01:00
Dockerfile updated fly.toml 2026年06月09日 19:20:34 +01:00
embed.go added text copying 2026年06月10日 07:36:03 +01:00
fly.toml updated fly.toml 2026年06月09日 19:20:34 +01:00
go.mod added text copying 2026年06月10日 07:36:03 +01:00
go.sum added text copying 2026年06月10日 07:36:03 +01:00
main.go updates 2026年06月10日 10:02:23 +01:00
README.md general updates 2026年06月09日 21:20:55 +01:00
sqlc.yaml general update of everything 2026年06月09日 19:12:35 +01:00
tailwind.config.js initial commit 2026年03月12日 13:19:42 +00:00

Solvicode Blog

First set up tailwindcss:

cd bin/tailwind && ./download-tailwind.sh

Then run:

air

TODO

Assets (required - features are wired up but files are missing)

  • Favicon files - add to static/images/favicon/:
    • favicon.ico
    • favicon-32x32.png
    • favicon-16x16.png
    • apple-touch-icon.png (×ばつ180)
    • site.webmanifest
    • (generate the set at realfavicongenerator.net; <head> already links these exact names)
  • OG share image - add static/images/og-default.png (×ばつ630). Referenced by all pages for social previews; currently 404s. Posts can override via og_image frontmatter.

Build config

  • Fix .air.toml CSS output path - pre_cmd builds to ./static/styles.css, but the app embeds/serves static/css/styles.css. Live-reload CSS edits don't take effect. Change to: ./bin/tailwind/tailwindcss -i ./app.css -o ./static/css/styles.css --minify
  • Dockerfile CSS build - Dockerfile comment says "Tailwind must be pre-built locally (bun run build)" but there's no package.json/bun setup. Either commit the built static/css/styles.css (currently the flow) or add a real build step. Clarify the intended pipeline.

SEO follow-ups (optional)

  • Real dateModified - currently falls back to published date. Add an updated: frontmatter field if you want true modified timestamps (better for Google freshness signals).
  • Verify draft exclusion - confirm draft: true posts 404 on direct URL and are absent from /blog and sitemap.xml.

Verification (not yet run)

  • Run the app and confirm end-to-end:
    • Markdown images render (rounded border, ~capped height) in posts
    • Markdown in post summary renders on /blog list
    • Favicon shows in browser tab
    • htmx nav updates tab title + meta and keeps CSS (no unstyled flash)
    • OG/Twitter tags resolve (test with a social-preview debugger once og-default.png exists)