Skip to content

Latest commit

 

History

History
57 lines (39 loc) · 2.01 KB

README.md

File metadata and controls

57 lines (39 loc) · 2.01 KB

Gitit Bootstrap Theme

Screenshot

Bootstrap theme for Gitit. Using following components.

Some scripts or stylesheets are derived from the original one.

Differences from original

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

Screenshots

Screenshot (Home) Screenshot (Edit preview) Screenshot (Index) Screenshot (Search) Screenshot (Home - Mobile) Screenshot (Home - Mobile - Expanded)

Prerequisites

  • 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 */

Install

$ 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.

Run in Docker container

See Gitit Experimental.