No description
- Go 35.9%
- templ 33.9%
- Python 19.7%
- CSS 6.1%
- Shell 1.7%
- Other 2.7%
|
|
||
|---|---|---|
| bin/tailwind | general update of everything | |
| content | general updates | |
| internal | added text copying | |
| scripts | added new plot | |
| static | General updates to the about page | |
| view | general updates | |
| .air.toml | general updates | |
| .gitignore | added text copying | |
| app.css | General updates to the about page | |
| Dockerfile | updated fly.toml | |
| embed.go | added text copying | |
| fly.toml | updated fly.toml | |
| go.mod | added text copying | |
| go.sum | added text copying | |
| main.go | updates | |
| README.md | general updates | |
| sqlc.yaml | general update of everything | |
| tailwind.config.js | initial commit | |
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.icofavicon-32x32.pngfavicon-16x16.pngapple-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 viaog_imagefrontmatter.
Build config
- Fix
.air.tomlCSS output path -pre_cmdbuilds to./static/styles.css, but the app embeds/servesstatic/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 nopackage.json/bunsetup. Either commit the builtstatic/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 anupdated:frontmatter field if you want true modified timestamps (better for Google freshness signals). - Verify draft exclusion - confirm
draft: trueposts 404 on direct URL and are absent from/blogandsitemap.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
summaryrenders on/bloglist - 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.pngexists)