ifelse(«$1.m4», «$2», «», «</a>»)
<br>
»)
-define(«LOGO», «<img src="aple.svg" alt="logo">»)
+define(«LOGO», «<a title="home" href="."><img src="aple.svg" alt="logo"></a>»)
define(«HEADER», «
<!DOCTYPE HTML>
»)
-define(«TITLE», «
-HEADER(«$1», «$2», «$3»)
-<hr>
-<div id="menu">
- <h3> Chapter </h3>
- <ul id="chapter_list">
+define(«TABLE_OF_CONTENTS», «
+ <ul id="$1">
<li> TOC_ENTRY(«Introduction», «$2») </li>
<li> TOC_ENTRY(«Unix_Concepts», «$2») </li>
ifelse(PUBLIC(), «false», «
<li> TOC_ENTRY(Debugging, «$2») </li>
»)
</ul>
- <h4> Section </h4>
- <ul>
+»)
+
+define(«TITLE», «
+HEADER(«$1», «$2», «$3»)
+<hr>
+<div class="dropdown">
+<svg
+ height="35" width="30"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+>
+ <rect fill="black" height="3" width="20" x="5" y="5" rx="2"/>
+ <rect fill="black" height="3" width="20" x="5" y="11" rx="2"/>
+ <rect fill="black" height="3" width="20" x="5" y="17" rx="2"/>
+</svg>
+ <div class="dropdown-content">
+ <h3> Chapter </h3>
+ TABLE_OF_CONTENTS(«chapter_list»)
+ <h4> Section </h4>
+ <ul>
divert(«1»)
</ul>
</div>
+</div>
divert(«2»)
»)
divert(«0»)dnl