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 -%}
{%- for node in include.pages -%}
{%- if include.all == true or node.nav_exclude != true -%}
+ {%- assign extra_classes = "" | split: "" -%}
{%- if site.game_selector.collection and node.collection == site.game_selector.collection -%}
- {%- assign game_select_classes = "game-any" -%}
+ {%- assign extra_classes = extra_classes | push: "game-any" -%}
{%- include filter_games.html page=node -%}
{%- for game in filtered_games -%}
- {%- assign game_class = " game-" | append: game | downcase -%}
- {%- assign game_select_classes = game_select_classes | append: game_class -%}
+ {%- assign game_class = "game-" | append: game | downcase -%}
+ {%- assign extra_classes = extra_classes | push: game_class -%}
{%- endfor -%}
- {%- else -%}
- {%- assign game_select_classes = "" -%}
+ {%- endif -%}
+ {%- assign untrusted_hidden = "" -%}
+ {%- if site.data.trusted[node.collection] -%}
+ {%- unless site.data.trusted[node.collection][node.slug] -%}
+ {%- assign extra_classes = extra_classes | push: "untrusted" -%}
+ {%- assign untrusted_hidden = "hidden" -%}
+ {%- endunless -%}
{%- endif -%}
{%- if include.ancestors contains node.title -%}
- -
+
{%- capture nav_error_report -%}
@@ -36,7 +43,7 @@
{%- include components/nav/children.html node=node ancestors=include.ancestors all=include.all -%}
- -
+