fuck fever

This commit is contained in:
notkoutsie 2023-08-13 03:39:53 +03:00
parent 7578751702
commit 695ceac51e

View File

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# noter 1.1.1 - "the oops im lazy update" - @k@layer8.space - mit # noter 1.1.2 - "fuck fever" - @k@layer8.space - mit
nlog() { nlog() {
local ORANGE='\033[0;33m' local ORANGE='\033[0;33m'
@ -40,7 +40,7 @@ generate_note_html() {
if [ "$2" = true ]; then if [ "$2" = true ]; then
echo "<h3><a href='#$(date -d "$(basename "$1" .txt)" +"%Y")'>$(date -d "$(basename "$1" .txt)" +"%Y")</a></h3>" echo "<h3><a href='#$(date -d "$(basename "$1" .txt)" +"%Y")'>$(date -d "$(basename "$1" .txt)" +"%Y")</a></h3>"
fi fi
echo "<h4><a href='$(basename "$1" .txt).html'>$note_date</a></h4>" echo "<h4><a href='#$(basename "$1" .txt)'>$note_date</a></h4>"
echo "<pre>$(cat "$1")</pre>" echo "<pre>$(cat "$1")</pre>"
echo "</div>" echo "</div>"
} }