From e34b6de4e12507f2212106d5f3c182c84e2e82f5 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 17 Nov 2026 13:32:52 +0000 Subject: cgit-about-filter: link directories to their README.md A relative link to a directory goes to the about page of the directory's README.md, if the filter renders it and it exists on the branch being viewed, and to the tree otherwise. One git cat-file checks all links of a page. --- pkgs/simple/cgit-about-filter/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pkgs/simple/cgit-about-filter/default.nix') diff --git a/pkgs/simple/cgit-about-filter/default.nix b/pkgs/simple/cgit-about-filter/default.nix index 215a44e..a05020f 100644 --- a/pkgs/simple/cgit-about-filter/default.nix +++ b/pkgs/simple/cgit-about-filter/default.nix @@ -1,5 +1,6 @@ -{ lib, md4c, replaceVars }: +{ gitMinimal, lib, md4c, replaceVars }: replaceVars ./cgit-about-filter.lua { + git = lib.getExe gitMinimal; md2html = lib.getExe md4c; } -- cgit v1.3.1