removed 'notes' and 'useful' from the navigation bar
This commit is contained in:
parent
8cbbd2abca
commit
0f673e3c1a
|
@ -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"))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue