summaryrefslogtreecommitdiff
path: root/usr/lib
AgeCommit message (Collapse)Author
2024-02-26fix: wrong script locationXiao Pan
In about-formatting-edited.sh, `pwd` when cgit run this script is /, can be tested by `cat '<p>$(pwd)</p>'` so need to get those scripts location via $0, $0 is /usr/lib/cgit/filters/about-formatting-edited.sh
2024-02-26updateXiao Pan
2024-02-25updateXiao Pan
2024-02-25cgit syntax highlight using mycgit.cssXiao Pan
mycgit.css import cgit.css and highlight.css. Because cgit.css is not a pacman backup file and it will be overwritten once cgit update. I can also update highlight.css automatically via pacman hook or `upd`. Also, I think `highlight` not using `--inline-css` maybe is a better way performance wise and more elegant (less messy generated html source code).
2024-02-25fix bug syntax_type should change to syntaxXiao Pan
2024-02-25highlight use --syntax-by-name to simplify codeXiao Pan
2024-02-25updateXiao Pan
2024-02-25cgit better highlightXiao Pan
2024-02-25try cgit highlightXiao Pan
2024-02-25cgit syntax highlighting tryXiao Pan