Attempts to get the tag matching right.
This commit is contained in:
parent
69935ea24a
commit
f9cc9a78f8
2 changed files with 5 additions and 6 deletions
|
@ -1,7 +1,6 @@
|
||||||
\newcommand{\startmymenu}{\HCode{
|
\newcommand{\startmymenu}{\HCode{
|
||||||
<footer role="contentinfo">\Hnewline
|
<footer class="navbar navbar-default navbar-fixed-bottom copyleft-navbar">\Hnewline
|
||||||
<div class="container">\Hnewline
|
<div class="container">\Hnewline
|
||||||
<header class="navbar navbar-default navbar-fixed-bottom copyleft-navbar">\Hnewline
|
|
||||||
<nav class="collapse navbar-collapse copyleft-navbar-collapse" role="navigation">\Hnewline
|
<nav class="collapse navbar-collapse copyleft-navbar-collapse" role="navigation">\Hnewline
|
||||||
<ul class="nav navbar-nav navbar-left">\Hnewline
|
<ul class="nav navbar-nav navbar-left">\Hnewline
|
||||||
<li class="navbar-text">License:\Hnewline
|
<li class="navbar-text">License:\Hnewline
|
||||||
|
@ -17,9 +16,9 @@
|
||||||
</ul>\Hnewline}}
|
</ul>\Hnewline}}
|
||||||
|
|
||||||
\:CheckOption{monolith} \if:Option
|
\:CheckOption{monolith} \if:Option
|
||||||
\newcommand{\monolith}{\Configure{@BODY}{\startmymenu\selectmonolith\finishmymenu\HCode{</nav></header></div></footer>}}}
|
\newcommand{\monolith}{\Configure{@BODY}{IS MONOLITH \startmymenu\selectmonolith\finishmymenu\HCode{</nav></div></footer>}}}
|
||||||
\else
|
\else
|
||||||
\newcommand{\monolith}{\Configure{next+}{\HCode{<div class="container">\Hnewline<header class="navbar navbar-default navbar-fixed-bottom copyleft-navbar">\Hnewline <p class="navbar-text navbar-left">License:\Hnewline <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">CC By SA 4.0 International</a></p>\Hnewline<nav class="collapse navbar-collapse copyleft-navbar-collapse" role="navigation"><ul class="nav navbar-nav navbar-right">}}{\HCode{</ul></nav></header></div>}}}
|
\newcommand{\monolith}{\Configure{next+}{\startmymenu\selectmulti\finishmymenu\HCode{<div class="container">\Hnewline<header class="navbar navbar-default navbar-fixed-bottom copyleft-navbar">\Hnewline\Hnewline<nav class="collapse navbar-collapse copyleft-navbar-collapse" role="navigation"><ul class="nav navbar-nav navbar-right">}}{\HCode{</ul></nav></div></footer>}}}
|
||||||
|
|
||||||
|
|
||||||
\fi
|
\fi
|
||||||
|
|
|
@ -52,10 +52,10 @@
|
||||||
\Configure{crosslinks}{\HCode{<li>}}{\HCode{</li>}}{next-section}{prev-at-top}{prev-at-bottom}{jump-to-top}{jump-to-bottom}{up-section}
|
\Configure{crosslinks}{\HCode{<li>}}{\HCode{</li>}}{next-section}{prev-at-top}{prev-at-bottom}{jump-to-top}{jump-to-bottom}{up-section}
|
||||||
\Configure{crosslinks+}
|
\Configure{crosslinks+}
|
||||||
{\startmymenu\selectmulti\finishmymenu\HCode{<nav class="collapse navbar-collapse copyleft-navbar-collapse" role="navigation">\Hnewline
|
{\startmymenu\selectmulti\finishmymenu\HCode{<nav class="collapse navbar-collapse copyleft-navbar-collapse" role="navigation">\Hnewline
|
||||||
<ul class="nav navbar-nav navbar-center">}}
|
<ul class="nav navbar-nav">}}
|
||||||
{\HCode{</ul></nav>}}
|
{\HCode{</ul></nav>}}
|
||||||
{\HCode{<nav class="collapse navbar-collapse copyleft-navbar-collapse" role="navigation">\Hnewline
|
{\HCode{<nav class="collapse navbar-collapse copyleft-navbar-collapse" role="navigation">\Hnewline
|
||||||
<ul class="nav navbar-nav navbar-right">\Hnewline}}
|
<ul class="nav navbar-nav navbar-right">\Hnewline}}
|
||||||
{\HCode{</ul></nav></header></div></footer>}}
|
{\HCode{</ul></nav></div></footer>}}
|
||||||
|
|
||||||
\EndPreamble
|
\EndPreamble
|
||||||
|
|
Loading…
Reference in a new issue