tex4ht.usr 1.4 KB

123456789101112131415161718192021
  1. \newcommand{\footermenu}{\HCode{
  2. <footer class="navbar navbar-default navbar-fixed-bottom copyleft-navbar">\Hnewline
  3. <div class="container">\Hnewline
  4. <nav class="collapse navbar-collapse copyleft-navbar-collapse" role="navigation">\Hnewline
  5. <p class="navbar-text navbar-left"> License:
  6. <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">CC-BY-SA-4.0</a>&nbsp;&nbsp;/&nbsp;&nbsp;
  7. Donate now to this site's sponsors: <a href="https://sfconservancy.org/supporter/">Conservancy</a> &amp; <a href="https://www.fsf.org/appeal/">FSF</a></p>
  8. \Hnewline}}
  9. \:CheckOption{monolith} \if:Option
  10. \newcommand{\monolith}{\Configure{@BODY}{\footermenu\HCode{</nav></div></footer>}}}
  11. \newcommand{\selectpropermenuitem}{\HCode{<li><a href="/guide/">HTML</a></li>\Hnewline
  12. <li class="active"> <a href="/guide/monolithic">HTML (1 pg)</a></li>\Hnewline}}
  13. \else
  14. \newcommand{\selectpropermenuitem}{\HCode{<li class="active"><a href="/guide">HTML</a></li>\Hnewline
  15. <li><a href="/guide/monolithic">HTML (1 pg)</a></li>\Hnewline}}
  16. \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>}}}
  17. \fi
  18. \def\hrefnofollow#1#2{\Link[#1 rel="nofollow"]{}{}{#2}\EndLink}