My Blog admin
· 2 min read

New Theme and Entry Formats

TSBlog now has a second theme, and posts can be more than text and a cover image. Here is what changed.

The Themestrap theme

It has no dependencies. The slider, lightbox, tabs and menu are one small script, so there is no Bootstrap, no icon font and nothing to build. To recolor it, change one variable (--accent) in style.css.

Pick it under Settings → Theme.

Entry formats

Every post now has a format that decides what sits above its text:

The format is stored in the post file (format: and media:), and SQLite databases from before this change upgrade themselves the first time they open.

Updating

If an update said it "tried to change a file updates are never allowed to touch", this is why: a blog decides what an update may change using the code it is running now, so an old blog refuses a release that adds a new folder. Nothing was changed when that happened. The fix is a short bridge release first, which teaches the blog about the new folder, followed by the real release. The release tool has a --bridge option for it, and the steps are in the Updates docs.

If you publish your own releases, build the bridge before the full release. Everyone else just clicks update twice.

ThemestrapTSBlogrelease notes