File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -80,9 +80,22 @@ public function doc($file): void
8080 $ html = \Parsedown::instance ()->text (file_get_contents ($ mdfile ));
8181
8282 header ('Content-Type: text/html; charset=utf-8 ' );
83- echo '<html lang="en"><head><title> ' . $ file . '</title> ' ;
83+ echo '<html lang="en"><head><title> ' . $ file . ' - Meh… another comment system </title> ' ;
8484 echo '<link rel="stylesheet" href="https://unpkg.com/chota@latest"> ' ;
8585 echo '</head><body><div class="container"> ' ;
86+
87+ echo '<nav class="nav"> ' ;
88+ echo '<div class="nav-left"> ' ;
89+ echo '</div> ' ;
90+ echo '<div class="nav-center"> ' ;
91+ echo '<a class="brand" href="/"><img src="/meh.svg" alt="Meh… another comment system"></a> ' ;
92+ echo '</div> ' ;
93+ echo '<div class="nav-right"> ' ;
94+ echo '<a href="https://www.splitbrain.org/blog/2025-03/26-meh_another_comment_system">Introduction & Demo</a> ' ;
95+ echo '<a href="https://github.com/splitbrain/meh">Github</a> ' ;
96+ echo '</div> ' ;
97+ echo '</nav> ' ;
98+
8699 echo $ html ;
87100 echo '</div></body></html> ' ;
88101 }
You can’t perform that action at this time.
0 commit comments