From cc9192fbcb697ffb540a006e6006052e81245a69 Mon Sep 17 00:00:00 2001 From: apple1417 Date: Sat, 19 Sep 2026 13:21:46 +0300 Subject: [PATCH] trusted mod scaffolding --- _data/trusted.yml | 17 +++++++++++ _includes/components/nav/links.html | 23 ++++++++++----- _includes/nav_game_selector.html | 19 ++++++++---- _layouts/mod.html | 8 +++++ _sass/custom/custom.scss | 46 ++++++++++++++++++++++++----- 5 files changed, 92 insertions(+), 21 deletions(-) create mode 100644 _data/trusted.yml diff --git a/_data/trusted.yml b/_data/trusted.yml new file mode 100644 index 0000000..7a750a5 --- /dev/null +++ b/_data/trusted.yml @@ -0,0 +1,17 @@ +# This file lists the trusted mods, which have been manually reviewed +# If you're a reviewer and you want to add one, simply add an entry under the relevant collection, +# where the key is the mod's filename *without extension*, and the value is the date you reviewed +# it, in YYYY-MM-DD format (don't worry about timezones). + +oak_mods: + # Empty for now + +oak2_mods: + # Empty for now + +willow1_mods: + # Empty for now + +willow2_mods: + # Empty for now + diff --git a/_includes/components/nav/links.html b/_includes/components/nav/links.html index 1b2574a..2b64d3b 100644 --- a/_includes/components/nav/links.html +++ b/_includes/components/nav/links.html @@ -1,27 +1,34 @@ {%- comment -%} This is copied from the standard links.html, as of version 0.12.0. -We change it for the game selector, for each mod, we add "game-xyz" classes to its list item. +We change it for the game selector, for each mod, we add "game-xyz" classes to its list item, +and if it's not a trusted mod we add "untrusted" and hide it. {%- endcomment -%}