Skip to content

Redesign: match the approved editorial mockup (tracking) #62

Done

Description

@udienz

Goal

Deliver the redesign as it was approved in the mockup: the homepage, the article page and the phone view share one design system (ivory background, navy text, blue accents, serif headings with a clean sans body, no dark mode). The target is the mockup, not "better than the current branch".

Both links are in a private repository. Current work: PR #61, branch redesign/editorial-blog.

PR #61 was closed on 2026-11-24 and is not the base any more: we start again from master on a new branch (decision below). The list below was written while #61 was open; the section "State of PR #61" is kept as the record of why.

State of PR #61 (read from the diff, not yet built or viewed)

  • 10 files, +388/-578: index.html, posts/index.html, archive.md, _layouts/{post,page,archive}.html, _includes/{navbar,footer,scripts}.html, _sass/styles.scss.
  • The post layout already has a breadcrumb, related articles, share links, previous/next, series navigation and comments. It has no table of contents.
  • The stylesheet has two breakpoints, 900px and 700px. Between 700 and 900px the sidebar cards become a fixed two-column grid, which matches the tablet problem in the brief.
  • The hero uses /img/bg-index.jpg (a white desk with a notebook, phone, glasses and laptop). That is not the picture in the mockup (a desk with Ubuntu, Debian and Linux books, Tux, a laptop, headphones and a plant); the diff adds no image files.
  • The author avatar loads from avatars.githubusercontent.com (an external request on every post).
  • The PR is open and not a draft, and GitHub reports it as mergeable. The brief says it must not be merged without approval.

Facts about the content

Counted on master (2026-11-24) over all 368 files in _posts (329 .markdown, 39 .md). Correction: the first version of this issue counted only the 39 .md files and said that Ubuntu and Debian are tags; both are categories.

  • 34 categories. The largest: Linux 182, Ubuntu 97, MySelf 59, Debian 49, Komputer 48, Networking 33, Perenungan 32, Tak Berkategori 25, BlankOn 21, Cinta 17, Agama 17, Olahraga 11. 7 posts have no category.
  • 33 posts have image (the newest is 2026-11-24), 85 have description, 13 have subtitle, 8 have series. There is no featured field.
  • The mockup's titles, topic names and counts are placeholders; the real ones come from the content.
  • _config.yml says tag pages (jekyll-archives) are built only on Cloudflare Pages (Jekyll 4). The build target does not change.
  • The site already uses Lora (headings) and Open Sans (text) from Google Fonts: a serif and sans pair as in the mockup.

Decisions (we decided, 2026-11-24)

  • Topics: categories only, not tags, and only four are shown: Linux, Networking, Sepak Bola and Game.
  • PR Redesign blog with responsive editorial layout #61: closed. We reset and start again from master on a new branch, and open a new draft PR. Nothing from Redesign blog with responsive editorial layout #61 is reused unless it is checked against the mockup.
  • Featured article: only a post that has image; the newest one.
  • Hero photograph: the OpenAI-generated picture of the mockup; we own it and its source and licence. It is not img/bg-index.jpg. The owner attaches the file later; until then the hero shows no photograph.
  • Author avatar: the GitHub avatar that is already used.
  • Fonts: unchanged (Lora and Open Sans).
  • Build target: unchanged.

Still open:

  • The hero picture as a file (the owner sends it later). A usable file (at least 1600 px wide, any format) is needed in the repository, or in the workspace so it can be copied; then it is optimized to WebP with a smaller size for phones.
  • How a category is matched. The four names are exactly Linux, Networking, Sepak Bola and Game as written in the posts' categories; their real counts are shown in the chips and in "Browse by topic".

Work

0. Process

  • PR Redesign blog with responsive editorial layout #61 closed (2026-11-24); a new branch and a new draft PR replace it.
  • Review the branch against the mockup and write down the structural problems (a short list in this issue).
  • Final screenshots of the homepage and an article at desktop, tablet portrait and mobile widths go into the PR.

1. Design tokens and breakpoints

  • Colours (ivory, navy, blue, borders, subtle shadows), type scale (Lora and Open Sans, unchanged), spacing, radius, in one place (_sass).
  • Breakpoints chosen from the layout (where the sidebar must stack, where the navigation must collapse), tested at 768, 820, 834, 1024, 1180 and 1280px.
  • Contrast of navy on ivory and of the blue accent checked (4.5:1 for text).

2. Header and navigation

  • Brand "udienz blog", Home, Articles, Topics (dropdown), About, Archive and Search, clearly visible.
  • Mobile: compact bar with a working menu toggle (keyboard, aria-expanded), 44px touch targets.
  • Tablet: the navigation stays visible and usable.

3. Homepage

  • Hero: headline, short introduction, "Explore the articles" and RSS buttons, the OpenAI-generated photograph on the right (optimized, a smaller file for phones).
  • Topic row: Linux, Networking, Sepak Bola and Game, compact (one line, scrolls sideways on a phone), counts from the content.
  • Featured article: the newest post that has image; readable title and description; no text competing with text inside the image; a post without image is never featured.
  • More to explore: a list with thumbnail, title, excerpt, date and reading time.
  • Latest writing and Browse by topic (the same four categories, with counts): stacked or side by side by available width, with no empty column.
  • Author profile and a footer with useful links and RSS.
  • All titles, categories and counts come from Jekyll data, not hardcoded.

4. Article page

  • Breadcrumb, category label, title, optional subtitle, author, date, reading time.
  • Optional cover image; a comfortable reading width and line length.
  • Table of contents (kramdown toc_levels: 2..3 is already set), shown when the post has headings.
  • Content: headings, lists, blockquotes, tables, images; code blocks scroll sideways; long URLs wrap.
  • Sidebar: author card, related articles, tags and categories, share (copy link, LinkedIn, X, Facebook, Telegram, no new JavaScript dependency).
  • Previous/next navigation, the existing comments and the existing series navigation stay.
  • On a phone the sidebar comes after the article.

5. Other pages

  • Articles (/posts/, pagination), Topics, Archive, About, Search, 404 and the tag pages follow the same system.

6. Responsive behaviour (checked at real widths)

  • Desktop 1280: two columns, balanced.
  • Tablet landscape 1024 to 1180: the sidebar width does not squeeze the article.
  • Tablet portrait 768 to 834: no forced desktop columns; the sidebar cards stack.
  • Mobile 360 to 430: one column, no horizontal overflow, images scale, metadata wraps.

7. Must not break

  • Permalinks: the list of generated URLs is the same on master and on the branch.
  • RSS (feed.xml), search.json, sitemap, SEO and Open Graph metadata, categories, tags, series, comments.
  • No dark mode, no new JavaScript dependency, no rewriting of posts.

8. Verification

  • bundle exec jekyll build --future passes; generated HTML and CSS inspected.
  • Rendered pages checked at the widths in section 6 in light only; no horizontal overflow, no overlap.
  • A post with a long code block, a table and a series, and one without an image, are checked on purpose.
  • Keyboard focus is visible on every control.

Acceptance

Taken from the brief: the homepage follows the approved mockup; the article page follows the article mockup; both look like one system; desktop, tablet and mobile are balanced; no horizontal overflow, overlap or empty column; articles, code blocks, images and comments render; existing URLs and features are intact; the Jekyll build passes; screenshots at desktop, tablet portrait and mobile widths are in the PR.

Do not merge into master or publish without explicit approval.

Activity

  1. udienz commented on Nov 24, 2026

    @udienz
    OwnerAuthor

    Done: the redesign was merged in #64 (merge commit 2fd0f83) after the owner reviewed the Cloudflare Pages preview and approved it. The mockup was followed; the differences from it are listed in #64. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions