diff options
| author | tv <tv@krebsco.de> | 2026-11-17 15:26:08 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-17 15:26:08 +0100 |
| commit | c0e8ccf00d0cf09ae7f77f057193a5c4cf5d2ef2 (patch) | |
| tree | a46feb691a7a5606958f1621e4768b6c80878baf /pkgs/simple/cgit-about-filter | |
| parent | 53974c1edbf82e5e594bb7ce80b61f7fadd9d76f (diff) | |
cgit-about-filter: all .md is renderable
Diffstat (limited to 'pkgs/simple/cgit-about-filter')
| -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 = [[ |
