Skip to content

Redesign the blog as an editorial reading experience - #64

Merged
udienz merged 1 commit into
masterfrom
redesign/editorial-blog-v2
Nov 24, 2026
Merged

udienz merged 1 commit into
masterfrom
redesign/editorial-blog-v2

Conversation

@udienz

@udienz udienz commented Nov 24, 2026 •

Copy link
Copy Markdown
Owner

Refs #62. A new start from master after #61 was closed; nothing from #61 is reused. Draft: it is not to be merged or published without approval.

What this is

The blog redesign of the approved mockup: an editorial reading experience in an ivory, navy and blue palette, with Lora for headings and Open Sans for text (both unchanged), light theme only. The mockup, the brief and screenshots of this build are in the private workspace repository under project/blogging/redesign/ (reference-mockup.png, BRIEF.md, screenshots/).

  • Header: brand with a "blog" tag, Home, Articles, Topics (a menu of the four topics), About, Archive and search. The current section is marked. On a narrow screen the links fold behind a menu button; without JavaScript they stay visible.
  • Home: the hero with the owner's photograph, a topic bar, the featured article, "More to explore", "Latest writing", "Browse by topic" with counts, the author card and a footer with RSS.
  • Article: breadcrumb, category, title, subtitle, byline, optional cover, a table of contents, the text, series navigation, previous and next cards, comments (Disqus, unchanged); in the side column the author, related articles, tags and sharing (all the existing services and copy link).
  • Other pages: Articles (/posts/, with the side cards), Topics (/categories/), a new Archive (/archive/, by year), About, Contact, Search, 404 and the tag pages.
  • No JavaScript library any more: jQuery and Bootstrap's JavaScript are removed (no post used them). assets/site.js (91 lines, no dependency) does the menu, the contents list and copy link. Bootstrap's CSS stays for the content of old posts and the plain pages.

Decisions we made (issue #62)

  • Topics are categories only, four of them: Linux, Networking, Sepak Bola, Game (home.topics in _config.yml). Counts come from the content.
  • The featured article is the newest post that has image.
  • The hero photograph is the owner's own (OpenAI), as img/hero-workspace.webp (122 KB) and -sm.webp (47 KB, for phones).
  • The author avatar is the GitHub one already in use. Fonts and the build target are unchanged.

Where this differs from the mockup, and why

  • Featured article: the picture sits beside the text (above it on a phone), not under it. The pictures of the posts are infographics with their own text, so text laid over them (as in the mockup) would compete with it, which the brief warns against.
  • Cover image on an article: shown only when the text does not already contain it. Most posts embed their image, so a cover would show it twice.
  • Contents list: built in the browser from the h2 and h3 (needs at least three). 12 posts carry their own <details class="toc">; those keep theirs and no second one is built. Without JavaScript there is no side list.
  • Removed: the "Fork me on GitHub" ribbon.
  • Names: the navigation says Articles and Topics, but the <title> and description of /posts/ and /categories/ are unchanged (SEO), with the visible heading in new front matter (heading, lede).

Checks (Jekyll 4.2, Docker, bundle exec jekyll build --future)

  • Build passes: 905 HTML files, 904 on master plus /archive/. No generated file is missing; the sitemap only gains /archive/; feed.xml and search.json are identical apart from timestamps.
  • <head> metadata (title, description, canonical, Open Graph, Twitter, JSON-LD) is identical to master on 11 sampled pages (home, Articles, Topics, About, Search, 404, four posts, a tag page).
  • No horizontal overflow on 12 page types (home, five posts including one with 22 code blocks and one with 22 tables, Articles, Topics, Archive, About, Search, 404) at 1280, 1024, 768 and 390 px.
  • 18 browser checks pass: the phone menu opens and closes (button, aria-expanded, Escape), the Topics menu, the current-page marker, the contents list (9 entries on one post, the post's own list kept on another), copy link, code blocks scroll sideways, and the navigation stays visible with JavaScript off.

Not checked, or still to do

  • Real devices: the tablet and phone widths are emulated in Chromium at the sizes above (no iPad or Android run). Nothing was tried at 820, 834 or 1180 px.
  • Google Fonts, Font Awesome and the GitHub avatar were loaded in the layout checks; Disqus and the search script (lunr) were blocked, so neither the comments nor live search results were seen. The Contact page was built but not looked at.
  • Contrast of the blue and grey text was chosen from the palette (about 4.9:1 and 5.6:1 on the ivory) and not measured with a tool. Keyboard focus is styled but was only exercised in the menu tests.
  • Old posts (about 330 imported ones) were looked at on one sample (2008) and two long modern ones; the rest were only built.
  • The stylesheet is larger by about 10 KB (170 KB against 160 KB, compressed output) because Bootstrap's CSS stays.

A new theme in an ivory, navy and blue palette (Lora and Open Sans, unchanged):
header with a topics menu, a home page with a hero photograph, a topic bar, a
featured article, more to explore, latest writing, browse by topic and an author
card, an article page with breadcrumb, byline, table of contents, author card,
related articles, tags, sharing, previous and next, and the Articles, Topics,
Archive, About and tag pages in the same system.

Everything on the home page comes from the content: the topics are real
categories (home.topics in _config.yml), the featured article is the newest post
with an image. Permalinks, feed, search.json, SEO metadata, comments and series
navigation are unchanged. jQuery and Bootstrap's JavaScript are gone; a small
vanilla script (assets/site.js) does the menu, the contents list and copy link.
Adds an /archive/ page.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying udienz-github-io with  Cloudflare Pages  Cloudflare Pages

Latest commit: f74e4c6
Status: ✅  Deploy successful!
Preview URL: https://9ca5f44c.udienz-github-io.pages.dev
Branch Preview URL: https://redesign-editorial-blog-v2.udienz-github-io.pages.dev

View logs

@udienz
udienz marked this pull request as ready for review November 24, 2026 17:00
@udienz
udienz merged commit 2fd0f83 into master Nov 24, 2026
2 checks passed
@udienz
udienz deleted the redesign/editorial-blog-v2 branch November 24, 2026 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant