about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-12-21T14·50+0000
committerVincent Ambo <tazjin@google.com>2019-12-21T14·50+0000
commit34e2570a8c18ba28987d5b2ab0cd4d0656f2ca84 (patch)
tree970b019d5cdf0e9bd56a9dd960fc467fa3a8b249
parentd6c255a35da53c910444a3df5703da597e9c7e4f (diff)
feat(cgit-taz): Use cheddar as the about-filter r/283
This will render about pages using the Comrak renderer defined in
Cheddar.

Note that due to the way its implemented this will have one
interesting behaviour: Markdown files in the tree will *also* be
rendered as HTML.

I will need to see how that works out before deciding whether or not
to disable it.
-rw-r--r--web/cgit-taz/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/cgit-taz/default.nix b/web/cgit-taz/default.nix
index e0d1b180eafa..52613cd004e1 100644
--- a/web/cgit-taz/default.nix
+++ b/web/cgit-taz/default.nix
@@ -24,7 +24,7 @@ let
     virtual-root=/
     enable-http-clone=1
     readme=:README.md
-    about-filter=${cmarkFilter}
+    about-filter=${pkgs.tools.cheddar}/bin/cheddar
     source-filter=${pkgs.tools.cheddar}/bin/cheddar
     enable-log-filecount=1
     enable-log-linecount=1