Go html/template: Why Auto-Escaping Is Your Friend
Go's html/template escapes output automatically — that is the feature, not a limitation. How it stops the XSS you would otherwise write, and where it gets in the way.
Every review is written after real use. Every calculator shows the math. No recycled spec sheets.
Go's html/template escapes output automatically — that is the feature, not a limitation. How it stops the XSS you would otherwise write, and where it gets in the way.
The honest path between 'keep it in SQLite' and 'run your own Postgres': move the part that needs it to a managed database and keep the rest in the file.
How to actually read your server logs: systemd journal for the app, GoAccess for traffic, and log rotation so logs never fill the disk.
Comments are where a small site gets spammed and defaced. Here is the approve-first moderation flow that keeps comments useful without hiring a moderator.
I corrupted SQLite databases on purpose and integrity_check passed on one that was actually broken. Here is the verified boundary of what this check can and cannot see.
The nginx line that serves generated pages, clean URLs, and a proper 404 — explained. Plus the cache and gzip settings worth adding.
Google rewards experience, expertise, authority, and trust. For a solo site the strongest signal is one you control: demonstrably real use of every tool you review.
A practical look at SQLite indexes: when they help, when they hurt, and how to find the queries that actually need one.
The exact systemd unit I run for Go services: restart policy, hardening, environment file, and the flags that stop a crash from becoming an outage.
This site started as a hand-built static generator and moved to my own Go CMS. The honest reasons: content workflow, ad slots, and the cost of static's purity.