minor fixes + added more tags
This commit is contained in:
parent
89cc7cbfa6
commit
a51c96f79c
1 changed files with 4 additions and 2 deletions
6
noter.sh
6
noter.sh
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
# noter 1.0 - @k@layer8.space - mit
|
||||
# noter 1.0.2 - @k@layer8.space - mit
|
||||
|
||||
nlog() {
|
||||
local ORANGE='\033[0;33m'
|
||||
|
@ -27,6 +27,7 @@ output_file="notes.html"
|
|||
echo "<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset='utf-8'>
|
||||
<title>$notecount notes | noter</title>
|
||||
<meta property='og:title' content='noter | simple notes with bash' />
|
||||
<meta property='og:description' content='noter | view & share your notes' />
|
||||
|
@ -90,8 +91,9 @@ for file in $(ls -r notes/*.txt); do
|
|||
done
|
||||
|
||||
# bottom navigation
|
||||
echo "<div class='generated-with'>generated with <a href='https://git.sr.ht/~koutsie/noter'>noter</a></div>" >>"$output_file"
|
||||
echo "<div class='back-to-top'><a href='#'>Back to Top</a></div>" >>"$output_file"
|
||||
echo "<div class='last-updated'>Last Updated: $(date +"%Y-%m-%d %H:%M:%S")</div>" >>"$output_file"
|
||||
echo "<div class='last-updated'>last Updated: $(date +"%Y-%m-%d %H:%M:%S")</div>" >>"$output_file"
|
||||
|
||||
echo "</div>
|
||||
</body>
|
||||
|
|
Reference in a new issue