From ad24dcac58eea06f874055665aeed02801fde004 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Tue, 8 Sep 2026 10:08:23 +0200 Subject: feat: serve the latest Slackware -current ChangeLog entry to Homepage Homepage's customapi widget speaks JSON and cannot parse text, so the ChangeLog needs something in front of it. This proxy fetches the file, keeps only the entry above the first separator, and serves the counts, the CVE ids, a truncated package list and the entry as a page. Package lines are matched by starting at column 0 rather than by their trailing period, since the indented notes below them frequently end in one too. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_0184D3xBAHPcZE9jZ45R5J26 --- homepage-settings.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 homepage-settings.yaml (limited to 'homepage-settings.yaml') diff --git a/homepage-settings.yaml b/homepage-settings.yaml new file mode 100644 index 0000000..98b3bdd --- /dev/null +++ b/homepage-settings.yaml @@ -0,0 +1,15 @@ +# Merge this `layout:` block into Homepage's settings.yaml. +# +# Listing a group here also fixes its order on the page. Any group omitted +# falls to the bottom, so list the groups you already have too. + +layout: + Slackware: + style: row + columns: 2 # summary and package list side by side + + # Your other groups go here too, in the order you want them shown: + # + # Nome Gruppo: + # style: row + # columns: 3 -- cgit v1.2.3