feat(cgit-taz): Add patches for subtree about/ handling
1. Generate links to subtree about pages. 2. Render README files in subtrees, too.
This commit is contained in:
parent
03acae2f85
commit
9ad4796538
5 changed files with 123 additions and 4 deletions
|
|
@ -1,13 +0,0 @@
|
|||
diff --git a/config.h b/config.h
|
||||
index 65ab1e3..cde470f 100644
|
||||
--- a/config.h
|
||||
+++ b/config.h
|
||||
@@ -327,7 +327,7 @@
|
||||
/* CONFIGURE: A list of index filenames to check. The files are searched
|
||||
** for in this order.
|
||||
*/
|
||||
-#define INDEX_NAMES "index.html", "index.htm", "index.xhtml", "index.xht", "Default.htm", "index.cgi"
|
||||
+#define INDEX_NAMES "cgit.cgi"
|
||||
|
||||
/* CONFIGURE: If this is defined then thttpd will automatically generate
|
||||
** index pages for directories that don't have an explicit index file.
|
||||
Loading…
Add table
Add a link
Reference in a new issue