~koutsie/noter

a51c96f79c3ec129db271b1e09d0fdbe05fe60b9 — notkoutsie 1 year, 2 months ago 89cc7cb
minor fixes + added more tags
1 files changed, 4 insertions(+), 2 deletions(-)

M noter.sh
M noter.sh => noter.sh +4 -2
@@ 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>