]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/todo/merge_bootstrap_branch.mdwn
34a4a1f72781a9f6a5667ff20b606c2e521bad71
[git.ikiwiki.info.git] / doc / todo / merge_bootstrap_branch.mdwn
1 I've prepared a bootstrap branch based on
2 <https://github.com/gsliepen/ikistrap>. 
4 Main impediment to merging it is jquery; bootstrap probably needs
5 a newer version than the 1.6.2 included in ikiwiki and upgrading
6 it would need testing the parts of ikiwiki that use jquery.
8 It also needs to include bootstrap 4 in ikiwiki, rather than pulling
9 it from the CDN, probably. Although depending on a debian package
10 would be nicer, if bootstrap 4 got packaged in Debian.
12 Note that the template changes are not entirely optimial, but I
13 did them in a way that makes the diff pretty clear that nothing changes
14 except when the bootstrap theme is enabled.
16 --[[Joey]]
18 > [bootstrap3 is in debian](https://tracker.debian.org/pkg/twitter-bootstrap3).
19 > As far as I know, there is no effort to package b4 just yet,
20 > maybe a RFP?
21 >
22 > My work on bootstrap also involved some changes to the base templates,
23 > not sure there is a way to work around that. --[[anarcat]]
25 >> As for not tampering with template files, the only way I found to
26 >> work around this is to rename the desired bootstrap classes to the
27 >> ones that the default ikiwiki template wants (toc, map, etc.).
28 >> What this means is copying css code from `bootstrap.css` to the `styles.css`.
29 >> [See for yourself](https://notabug.org/iikb/ikiwiki-theme-bootstrap/commit/7f30630b6255336a34b14f70f2a674e15cd797a0) - don't mind the red parts.
30 >> This is tedious and boring, it's easier to tamper with template files
31 >> than to rewrite bootstrap by copying and pasting it. --[[desci]]