CMS polish: Hearthstone hub, live fonts, and font-size controls
A day spent improving the Decap CMS editing experience on mynerdylife.com — a new hidden Hearthstone section, real site fonts in the markdown preview, live character counts, and adjustable editor font sizes.
Today was all about the site’s editing experience.
I added a live character count to the description field in the CMS, so descriptions can be tuned to a length that’s actually suitable for search. Then I set up a new hidden “Hearthstone” collection/hub — added it to the content config, categories, layout, and the CMS config, plus a placeholder draft post to start filling in later.
The rest of the day went into making the Decap markdown preview actually look like the real site: pulled in the site’s real fonts for the preview pane instead of browser defaults. That led to adding independent font-size controls for the editor, which then needed a follow-up fix once it turned out the controls displayed but didn’t actually do anything when clicked — traced that down and also dropped a leftover preview font-size control that wasn’t functional either.
Small unrelated tweak: publish dates now show on the homepage post cards.
Quiet on other personal projects today.