Skip to content

Bootstrap theme for Gitit, a Wiki backed with Git, Darcs, Mercurial, and Pandoc.

License

Notifications You must be signed in to change notification settings

t13a/gitit-bootstrap-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Bootstrap theme for Gitit, a Wiki backed with Git, Darcs, Mercurial, and Pandoc.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published