Edit badges for GitHub forks and stars
[m6w6/gitweb-theme] / README.markdown
index d4d6b63e5fd34f4e3e52a005dd4b2552b66efc95..17e31787bb9e07e380b61f12a9874bcb59e0063e 100644 (file)
@@ -1,3 +1,6 @@
+![GitHub Stars](https://img.shields.io/github/stars/kogakure/gitweb-theme.svg?style=social&label=Star)
+![GitHub Forks](https://img.shields.io/github/forks/kogakure/gitweb-theme.svg?style=social&label=Fork)
+
 # Theme for gitweb
 
 This is an alternative theme for [gitweb] (tested with git web interface version 2.0.4). It is *strongly* inspired by GitHub.
@@ -54,7 +57,14 @@ $feature{'avatar'}{'default'} = ['gravatar'];
 
 ### Categories
 
-Gitweb supports categories, which can be enabled by adding a file to your Git-Repository: `.git/category`. In this file you write the name of the category. In the Gitweb interface they will get grouped by category.
+Gitweb and this theme support categories, which can be enabled by the following gitweb config option:
+
+```perl
+$projects_list_group_categories = true;¬
+```
+
+The category name for each repository is read from `.git/category`, in the same manner as `.git/description`.
+
 
 ## Setup Script