diff options
Diffstat (limited to 'pkgs/simple/cgit-about-filter/cgit-about-filter.lua')
| -rw-r--r-- | pkgs/simple/cgit-about-filter/cgit-about-filter.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 = [[ |
