guide/tex4ht.usr
2014-11-07 10:25:31 -05:00

16 lines
1.1 KiB
Text

\newcommand{\footermenu}{\HCode{
<footer class="navbar navbar-default navbar-fixed-bottom copyleft-navbar">\Hnewline
<div class="container">\Hnewline
<nav class="collapse navbar-collapse copyleft-navbar-collapse" role="navigation">\Hnewline
<p class="navbar-text navbar-left">License:
<a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">CC By SA 4.0 International</a></p>\Hnewline}}
\:CheckOption{monolith} \if:Option
\newcommand{\monolith}{\Configure{@BODY}{\footermenu\HCode{</nav></div></footer>}}}
\newcommand{\selectpropermenuitem}{\HCode{<li><a href="/guide/">HTML</a></li>\Hnewline
<li class="active"> <a href="/guide/monolithic">HTML (1 pg)</a></li>\Hnewline}}
\else
\newcommand{\selectpropermenuitem}{\HCode{<li class="active"><a href="/guide">HTML</a></li>\Hnewline
<li><a href="/guide/monolithic">HTML (1 pg)</a></li>\Hnewline}}
\newcommand{\monolith}{\Configure{next+}{\footermenu\HCode{\Hnewline<nav class="collapse navbar-collapse copyleft-navbar-collapse" role="navigation"><ul class="nav navbar-nav navbar-right">}}{\HCode{</ul></nav></div></footer>}}}
\fi