No description
  • Handlebars 53.2%
  • CSS 44.1%
  • JavaScript 2.5%
  • Nix 0.2%
Find a file
Janne Peltola feeb804a7e Give the newest articles a section of their own
The hero's side column used to hold the three newest articles and now holds the
most read, which left the front page with nowhere that simply says what has just
been published. This is that place: the four newest, as the first section under
the banner advert, above the tag sections.

It is built out of what the tag sections are built out of — the same section
chrome, and the four-column grid and cards of "Posts Type 5 (four columns)",
which is the one section layout that asks for exactly four posts. The layout the
tag sections themselves use wants five, a lead plus two columns of two, and four
articles do not make that shape.

The title is the one difference, and it is why the stylesheet changes. A tag
section's title links to the tag; "newest" has no archive to point at, and
linking it to the front page from the front page is a link to here. So it is a
span, and .gh-posts-section__title-text now carries the type that lived only on
the anchor. The type moved to a second selector rather than onto the h2 itself:
the h2 carries line-height from the reset, and the six sections already on the
page would have shifted by a hair for nothing.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-15 15:12:15 +03:00
.github/workflows Pieniä npm-korjauksia, uusi nimi 2024-08-08 21:29:49 +03:00
assets Give the newest articles a section of their own 2026-09-15 15:12:15 +03:00
members Paremmat suomennokset 2024-06-25 00:22:40 +03:00
partials Give the newest articles a section of their own 2026-09-15 15:12:15 +03:00
.envrc Add nix environment 2026-09-15 14:39:38 +03:00
.gitignore Ignore the .claude directory 2026-09-14 23:23:11 +03:00
archive.hbs Kaikki jutut 2024-05-08 00:03:23 +03:00
author.hbs Alkuperäinen versio 2024-04-24 11:58:22 +03:00
CLAUDE.md Say where the development adverts come from 2026-09-15 15:10:49 +03:00
custom-account.hbs Alkuperäinen versio 2024-04-24 11:58:22 +03:00
custom-authors.hbs Alkuperäinen versio 2024-04-24 11:58:22 +03:00
custom-categories.hbs Alkuperäinen versio 2024-04-24 11:58:22 +03:00
custom-membership.hbs Alkuperäinen versio 2024-04-24 11:58:22 +03:00
custom-post-with-sidebar.hbs Alkuperäinen versio 2024-04-24 11:58:22 +03:00
custom-sign-in.hbs Alkuperäinen versio 2024-04-24 11:58:22 +03:00
custom-sign-up.hbs Alkuperäinen versio 2024-04-24 11:58:22 +03:00
custom-subscribe.hbs Alkuperäinen versio 2024-04-24 11:58:22 +03:00
default.hbs Give each ad spot a placement per screen 2026-09-11 19:26:02 +03:00
error-404.hbs Alkuperäinen versio 2024-04-24 11:58:22 +03:00
index.hbs Give the newest articles a section of their own 2026-09-15 15:12:15 +03:00
package-lock.json Lisää lockfile 2024-08-08 21:25:50 +03:00
package.json Lisää siivousta, 1.0.5 2024-05-08 00:05:01 +03:00
package.sh Korjataan yksi reititysmoka 2024-05-10 00:03:54 +03:00
page.hbs Alkuperäinen versio 2024-04-24 11:58:22 +03:00
post.hbs Taas yksi subscribe-banneri lisää 2024-08-10 18:27:08 +03:00
redirects.yaml Match the routing the live site actually serves 2026-09-11 10:10:31 +03:00
rollup.config.js Make livereload run in the development build 2026-09-15 14:28:57 +03:00
routes.yaml Match the routing the live site actually serves 2026-09-11 10:10:31 +03:00
shell.nix Add a development shell 2026-09-15 14:28:57 +03:00
tag.hbs Tagisivun käännös 2024-05-08 00:00:23 +03:00