From f74e4c6932042dc08a6e1565ced6d762b38d94ee Mon Sep 17 00:00:00 2001 From: Mahyuddin Susanto Date: Tue, 24 Nov 2026 23:47:03 +0700 Subject: [PATCH] Redesign the blog as an editorial reading experience 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. --- _config.yml | 23 ++++ _includes/author_card.html | 10 ++ _includes/footer.html | 101 ++++---------- _includes/head.html | 4 +- _includes/navbar.html | 58 ++++---- _includes/post_excerpt.html | 2 + _includes/post_meta.html | 2 + _includes/scripts.html | 5 +- _includes/topic_card.html | 9 ++ _layouts/archive.html | 45 ++---- _layouts/default.html | 2 + _layouts/home.html | 137 ++++++++++++------- _layouts/page.html | 35 ++--- _layouts/post.html | 255 +++++++++++++++++----------------- _sass/_article.scss | 113 +++++++++++++++ _sass/_base.scss | 85 ++++++++++++ _sass/_footer.scss | 15 ++ _sass/_header.scss | 61 +++++++++ _sass/_home.scss | 116 ++++++++++++++++ _sass/_lists.scss | 48 +++++++ _sass/_tokens.scss | 43 ++++++ _sass/styles.scss | 264 ++---------------------------------- archive.md | 27 ++++ assets/scripts.js | 3 - assets/site.js | 91 +++++++++++++ categories.md | 13 +- img/hero-workspace-sm.webp | Bin 0 -> 47022 bytes img/hero-workspace.webp | Bin 0 -> 121592 bytes posts/index.html | 66 ++++----- 29 files changed, 1007 insertions(+), 626 deletions(-) create mode 100644 _includes/author_card.html create mode 100644 _includes/post_excerpt.html create mode 100644 _includes/post_meta.html create mode 100644 _includes/topic_card.html create mode 100644 _sass/_article.scss create mode 100644 _sass/_base.scss create mode 100644 _sass/_footer.scss create mode 100644 _sass/_header.scss create mode 100644 _sass/_home.scss create mode 100644 _sass/_lists.scss create mode 100644 _sass/_tokens.scss create mode 100644 archive.md delete mode 100644 assets/scripts.js create mode 100644 assets/site.js create mode 100644 img/hero-workspace-sm.webp create mode 100644 img/hero-workspace.webp diff --git a/_config.yml b/_config.yml index 60f259a..494839c 100644 --- a/_config.yml +++ b/_config.yml @@ -44,3 +44,26 @@ feed: permalink: /:year/:month/:day/:title exclude: - README.md + +# Home page and author card of the editorial design (docs and decisions: issue #62). +# Topics are real categories: `name` must match a category written in the posts' `categories`. +# The counts come from the content, never from here. The hero photo is the owner's own (generated with OpenAI). +author_aka: udienz +author_avatar: "https://avatars.githubusercontent.com/u/30291?v=4" +author_bio: "Linux and network enthusiast, open-source contributor, and a bit of a football addict." +home: + hero_eyebrow: "Personal notes & field logs" + hero_title: "Ideas, systems, and everything in between." + hero_text: "Catatan tentang Linux, networking, open source, sepak bola, dan hal-hal yang menarik perhatian." + hero_image: "/img/hero-workspace.webp" # 1600 px wide + hero_image_sm: "/img/hero-workspace-sm.webp" # 800 px wide, for phones + hero_image_alt: "A desk with Debian and Linux books, a Tux figure, a laptop showing neofetch, a Debian mug and headphones" + topics: + - name: "Linux" + icon: "fa-brands fa-linux" + - name: "Networking" + icon: "fa-solid fa-network-wired" + - name: "Sepak Bola" + icon: "fa-solid fa-futbol" + - name: "Game" + icon: "fa-solid fa-gamepad" diff --git a/_includes/author_card.html b/_includes/author_card.html new file mode 100644 index 0000000..6092dc4 --- /dev/null +++ b/_includes/author_card.html @@ -0,0 +1,10 @@ +
+

About the author

+
+ {% if site.author_avatar %}{% endif %} + {{ site.author | escape }} + {% if site.author_aka %}aka {{ site.author_aka | escape }}{% endif %} +
+ {% if site.author_bio %}

{{ site.author_bio | escape }}

{% endif %} + More about me → +
diff --git a/_includes/footer.html b/_includes/footer.html index 6f537cb..b93bf6d 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -1,76 +1,35 @@ - - -
- -