X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=README.markdown;h=17e31787bb9e07e380b61f12a9874bcb59e0063e;hb=d869f7d5172b40c276929fa23d88a1ff2305bc96;hp=d4d6b63e5fd34f4e3e52a005dd4b2552b66efc95;hpb=bcf01b27f31f95c5af41b6adc0aec8bfab3cff9d;p=m6w6%2Fgitweb-theme diff --git a/README.markdown b/README.markdown index d4d6b63..17e3178 100644 --- a/README.markdown +++ b/README.markdown @@ -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