From ad2d44c43b41a25b68ee2aa71cccafb21b0e5f93 Mon Sep 17 00:00:00 2001 From: BigCoke233 Date: Tue, 13 Jan 2026 20:30:25 +0800 Subject: fix: opml links not supposed to show "Zone 1" category also fixed the issue where some of the urls returns feed url instead of homepage --- layouts/_shortcodes/opml-links.html | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/layouts/_shortcodes/opml-links.html b/layouts/_shortcodes/opml-links.html index 6928a906..ffa420ad 100644 --- a/layouts/_shortcodes/opml-links.html +++ b/layouts/_shortcodes/opml-links.html @@ -1,13 +1,18 @@ {{ $opml := .Site.Data.rss }} {{ range $zone := $opml.body.outline }} + {{ $title := index $zone "-title" }} + {{ if ne $title "Zone 1 - 家" }}

- {{ index $zone "-title" }} + {{ $title }}

{{ range shuffle $zone.outline }} -