remove table of contents

This commit is contained in:
Akbar Rahman 2023-02-06 13:00:28 +00:00
parent 8cc14c8a3e
commit 18ea2a3b04
Signed by: alvierahman90
GPG Key ID: 20609519444A1269
2 changed files with 18 additions and 28 deletions

View File

@ -17,34 +17,25 @@
<body> <body>
<div id="contentWrapper"> <div id="contentWrapper">
<div id="sidebar">
<div id="header">
<p class="smallText">
<a href="/permalink?uuid=$uuid$">permalink</a>
</p>
<p class="smallText"> tags: [
$for(tags)$
<a href="/.tags/$tags$.html">$tags$</a>$sep$,
$endfor$
]</p>
<p class="smallText">
written by $for(author)$$author$$sep$, $endfor$
</p>
<p class="smallText">
syntax highlighting based on <a href="https://pygments.org/">Pygments'</a> default
colors
</p>
<p class="smallText">
page generated by <a href="https://git.alv.cx/alvierahman90/notes2web">notes2web</a>
</p>
</div>
<div id="tocWrapper" style="width: 100%" >
<h3>Table of Contents</h3>
<input id="search" width="100%" placeholder="Search table of contents" />
<div id="toc">$toc$</div>
</div>
</div>
<div id="content"> <div id="content">
<p class="smallText">
<a href="/permalink?uuid=$uuid$">permalink</a> (uuid: $uuid$)
</p>
<p class="smallText"> tags: [
$for(tags)$
<a href="/.tags/$tags$.html">$tags$</a>$sep$,
$endfor$
]</p>
<p class="smallText">
written by $for(author)$$author$$sep$, $endfor$
</p>
<p class="smallText">
syntax highlighting based on <a href="https://pygments.org/">Pygments'</a> default
colors
</p>
<p class="smallText">
page generated by <a href="https://git.alv.cx/alvierahman90/notes2web">notes2web</a>
</p>
<details id="commitLog"> <details id="commitLog">
<summary class="smallText"> <summary class="smallText">
Commit log (file history) Commit log (file history)

View File

@ -15,7 +15,6 @@ Browse <a href="/notes">here</a> or by tag <a href="/.tags">here</a>.
<div id="searchWrapper"> <div id="searchWrapper">
<input autocomplete="off" placeholder="search" id="search" autofocus> <input autocomplete="off" placeholder="search" id="search" autofocus>
<input type="number" id="resultsMax" min="0" value="5">
</div> </div>
<p class="smallText" style="margin-top: 0; text-align: center;"> Press <kbd>Enter</kbd> to open first result or <kbd>Shift</kbd>+<kbd>Enter</kbd> to open in new tab</p> <p class="smallText" style="margin-top: 0; text-align: center;"> Press <kbd>Enter</kbd> to open first result or <kbd>Shift</kbd>+<kbd>Enter</kbd> to open in new tab</p>
<div id="results"> <div id="results">