Bootstrap theme for Gitit. Using following components.
- Scripts and stylesheets from Gitit 1.12.3.1, Bootstrap 4.1.1, jQuery 3.3.1, jQuery UI 1.12.1.
- Icons from Fontawesome 5.1.0.
- Images from Wiki Commons.
Some scripts or stylesheets are derived from the original one.
This is just a theme not extension. But some features differ from original.
- Edit preview in modal dialog
- External link icon
- Foldable table of contents
- New default logo in SVG format
- Gitit 0.12.3
Since Gitit 0.12.3, the syntax highlight library has been replaced with skylighthing from highlighting-kate. If you want to apply this theme before Gitit 0.12.2, please change custom.css
as follows.
- @import url("highlighting.css"); /* for syntax highlighting */
+ @import url("hk-pyg.css"); /* for syntax highlighting */
$ cd path/to/your-gitit-dir
$ mv cache{,.bak} # if needed
$ mv static{,.bak}
$ mv templates{,.bak}
$ git clone https://github.com/t13a/gitit-bootstrap-theme
$ gitit-bootstrap-theme/build.sh
...
$ cp -r gitit-bootstrap-theme/out/{static,templates} .
Then start Gitit.
See Gitit Experimental.