X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/fb2e00014da40d677f79b6b07e05ae821e7e10e5..d3c15aed18ef9e67c3e785ac3cc0426c56e59ac7:/doc/todo/merge_bootstrap_branch.mdwn diff --git a/doc/todo/merge_bootstrap_branch.mdwn b/doc/todo/merge_bootstrap_branch.mdwn index ee42bf55c..34a4a1f72 100644 --- a/doc/todo/merge_bootstrap_branch.mdwn +++ b/doc/todo/merge_bootstrap_branch.mdwn @@ -21,3 +21,11 @@ except when the bootstrap theme is enabled. > > My work on bootstrap also involved some changes to the base templates, > not sure there is a way to work around that. --[[anarcat]] + +>> As for not tampering with template files, the only way I found to +>> work around this is to rename the desired bootstrap classes to the +>> ones that the default ikiwiki template wants (toc, map, etc.). +>> What this means is copying css code from `bootstrap.css` to the `styles.css`. +>> [See for yourself](https://notabug.org/iikb/ikiwiki-theme-bootstrap/commit/7f30630b6255336a34b14f70f2a674e15cd797a0) - don't mind the red parts. +>> This is tedious and boring, it's easier to tamper with template files +>> than to rewrite bootstrap by copying and pasting it. --[[desci]]