oh...
Posted on November 15, 2025
The blog was reconstructed yesterday, moving from plain HTML to Flask/HTML. The style remained the same. The new template makes posting easier, and what’s more important for me is the yet-to-be-implemented comment section.
++ It actually looks even worse now.
++ And the comment section didnt feel magical when it's written down.
The original posts have been moved to the new template, though some pictures are still missing.
++ I changed data structure to add images, then moved data from .py to json files.
I had some web tools, dont even know why they are here.
++ and now they are dumped into gitea, left a few broken links.
the next day I had even more struggle, the uwsgi+flask worked locally but fail to move to server, I could not understand that error log:
connect() to unix:/opt/page/page.sock failed (13: Permission denied)
and was checking permissions pitifully for 3 hours.
Yes there was some silly error that I renamed my nginx user...
someday I moved to caddy....
docker compose restart daddy
modified css file and it didnt render..
but clear cache helped...
+++25.12.26 now there is a script to update post and edit old posts
+++02.04.26 I think I was editting the editor script for the past week...
I spent three days to move some predefined css styles to templates, used a lot of for loops in jinja templates. Later I decided to avoid jinja as much as possible, then templates became py handled injections.
Added a html/js based editor, and used simple formation methods like regex strip.
It feels like writing raw HTML strings. The magical moments vanished, and I wasn’t sure why I felt them—whether it was because of the Jinja for‑loops or because I was typing on a web UI—but I still sense a lingering sense of serenity. When I finally have a blog, I truly feel as if I’ve built a home.
Leave a Comment