From c0e8ccf00d0cf09ae7f77f057193a5c4cf5d2ef2 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 17 Nov 2026 15:26:08 +0100 Subject: cgit-about-filter: all .md is renderable --- pkgs/simple/cgit-about-filter/cgit-about-filter.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/simple') diff --git a/pkgs/simple/cgit-about-filter/cgit-about-filter.lua b/pkgs/simple/cgit-about-filter/cgit-about-filter.lua index d0b820e..2d2d92a 100644 --- a/pkgs/simple/cgit-about-filter/cgit-about-filter.lua +++ b/pkgs/simple/cgit-about-filter/cgit-about-filter.lua @@ -98,7 +98,7 @@ end -- The files the filter renders: README.md, and Markdown files in docs/. local function renderable(file) - return file == "README.md" or (file:sub(1, 5) == "docs/" and file:sub(-3) == ".md") + return file:sub(-3) == ".md" end local table_style = [[ -- cgit v1.3.1