aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorgrm <grm@eyesin.space>2026-09-17 21:29:44 +0300
committergrm <grm@eyesin.space>2026-09-17 21:29:44 +0300
commite96bbec551c0388e972894b349413fa6ef607352 (patch)
treec63b50d515fc0a0f754f970b8d316dd37f73ac80 /README.md
parent69912c4ac04ada3286c09400ce523d5d3ab4cfb4 (diff)
downloadblogspace-e96bbec551c0388e972894b349413fa6ef607352.tar.gz
blogspace-e96bbec551c0388e972894b349413fa6ef607352.tar.bz2
blogspace-e96bbec551c0388e972894b349413fa6ef607352.zip
Add custom fonts: upload WOFF2/WOFF/TTF/OTF files and pick them on the Design tab
Fonts become a file kind of their own (sniffed from the bytes like images, served inline from /media), and the theme gets custom_font and custom_heading_font: a chosen file is declared as @font-face and put first in the stack, the built-in Font / Heading font choice behind it as the fallback, so there is no "custom" enum value and no invalid state. The pickers are plain selects with an upload input, no script. Fonts uploaded before this are reclassified by the migration. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Sd8UPWrvyYCLj97JexNw3A
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index 295fe87..b6adffe 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@ Server-rendered HTML, no JavaScript required, works on old browsers and phones.
keyboard shortcuts and a rendered preview — or, with the editor's Format switch, in
**raw HTML** that goes on the blog exactly as written (embeds, scripts, inline styles;
the blogger's own responsibility, like the custom HTML module). Files of any
- kind — images, PDFs, archives, audio… — can be inserted straight from the editor (file
+ kind — images, PDFs, archives, audio, fonts… — can be inserted straight from the editor (file
picker, paste or drag-and-drop; with JavaScript off the file is appended on save):
images are shown, everything else becomes a download link. The **Files** tab lists
them by kind with search, rename and delete. Uploads are 10 MB per file by default;
@@ -23,7 +23,8 @@ Server-rendered HTML, no JavaScript required, works on old browsers and phones.
with it. A post can have a **featured image**: a thumbnail beside it on listings,
and the picture above or below the text on its own page.
- **Design** tab: one form, one Save, organised by part of the blog — colours & fonts
- (schemes, background colour/image, text and link colours, fonts), header, menu,
+ (schemes, background colour/image, text and link colours, fonts — built-in
+ stacks or your own uploaded WOFF2/WOFF/TTF/OTF files), header, menu,
content, side columns, footer, logo & site icon. The page is five areas — header,
left column, main content, right column, footer — each holding modules in any
order: blog title, logo, menu, archive (posts by year and month), recent posts,