removed 'notes' and 'useful' from the navigation bar

This commit is contained in:
Abdullah Islam 2023-06-21 15:24:07 +06:00
parent 8cbbd2abca
commit 0f673e3c1a
1 changed files with 0 additions and 8 deletions

View File

@ -9,15 +9,11 @@ function genNavbarHTML(filename, sourcePath, outputPath) {
else
return sprintf("<nav id='navbar'>\n\
<a href='%s'>home</a> | \n\
<a href='%s'>notes</a> | \n\
<a href='%s'>useful</a> | \n\
<a href='%s'>sitemap</a> | \n\
<a href='%s'>feed</a> | \n\
<a href='http://git.vern.cc/techn0path/'>git</a>\n\
</nav><br>\n", \
relpath(dirname, outputPath "/index.html"), \
relpath(dirname, outputPath "/notes/index.html"), \
relpath(dirname, outputPath "/useful/index.html"), \
relpath(dirname, outputPath "/sitemap.html"), \
relpath(dirname, outputPath "/feed.atom"))
}
@ -33,14 +29,10 @@ function genNavbarGMI(filename, sourcePath, outputPath) {
else
return sprintf("Navigation:\n\
=> %s home\n\
=> %s notes \n\
=> %s useful \n\
=> %s sitemap\n\
=> %s feed\n\
=> https://git.vern.cc/techn0path/ git\n\n", \
relpath(dirname, outputPath "/index.gmi"), \
relpath(dirname, outputPath "/notes/index.gmi"), \
relpath(dirname, outputPath "/useful/index.gmi"), \
relpath(dirname, outputPath "/sitemap.gmi"), \
relpath(dirname, outputPath "/feed.atom"))
}