tv gitrepos cgit: use README.md for about pages

This commit is contained in:
tv 2018-09-28 16:20:48 +02:00
parent b29452cfc3
commit cc7f493769

View File

@ -9,8 +9,19 @@ let {
enable = true; enable = true;
cgit = { cgit = {
settings = { settings = {
root-title = "repositories at ${config.krebs.build.host.name}"; about-filter = pkgs.exec "krebs.cgit.about-filter" rec {
filename = "${pkgs.pythonPackages.markdown2}/bin/markdown2";
argv = [
filename
"--extras=fenced-code-blocks"
];
envp = {};
};
readme = [
":README.md"
];
root-desc = "mostly krebs"; root-desc = "mostly krebs";
root-title = "repositories at ${config.krebs.build.host.name}";
}; };
}; };
repos = repos; repos = repos;