}
const results = new Array(6);
const seen = new Set();
- let recency = 5;
+ const maxRecency = Math.max(config.max_recency | 0, 0);
+ let recency = maxRecency;
let current;
do {
const show = new Deno.Command("git", {
"show",
"-s",
"--format=%H%x00%cI%x00%cD",
- recency ? `HEAD~${5 - recency}` : commit,
+ recency ? `HEAD~${maxRecency - recency}` : commit,
],
stdout: "piped",
stderr: "piped",
-# Modify this file to configure your GitWikiWeb instance.
+# The maximum number of calls to git in Special:RecentlyChanged before
+# giving up and just collecting all remaining files in the time·period.
+#
+# This configuration gives the maximum number of unique dates shown on
+# the page.
+max_recency: 7
+
+# Symbol conversions supported in Djot.
symbols:
nbsp: "\xA0" # no‐break space
cgj: "\u034F" # combining grapheme joiner
p+p{ Margin-Block-Start: .75EM }
:Any-Link[href^="/Special:NotFound?path="]{ Color: Firebrick }
span.sig{ Font-Style: Italic; Font-Weight: Bold }
-strong[data-recency="5"]{ Font-Weight: 900 }
-strong[data-recency="4"]{ Font-Weight: 800 }
-strong[data-recency="3"]{ Font-Weight: 700 }
-strong[data-recency="2"]{ Font-Weight: 600 }
+strong[data-recency="7"]{ Font-Weight: 800 }
+strong[data-recency="6"]{ Font-Weight: 750 }
+strong[data-recency="5"]{ Font-Weight: 700 }
+strong[data-recency="4"]{ Font-Weight: 650 }
+strong[data-recency="3"]{ Font-Weight: 600 }
+strong[data-recency="2"]{ Font-Weight: 550 }
strong[data-recency="1"]{ Font-Weight: 500 }
strong[data-recency] time{ Font-Style: Italic }