diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cdd7c19 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +config.sh diff --git a/README.md b/README.md index 9c3b588..6caae03 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,9 @@ a simple note taking system, that also generates weboages with rss feeds! made with bash. +copy `config.example.sh` to `config.sh` and edit before generating your notes! + ### see noter.sh for generation time options ### place your notes onto a foldier named "notes" in the directory noter.sh is in! -example of what a page looks like: https://k0.tel/ \ No newline at end of file +example of what a page looks like: https://k0.tel/ diff --git a/config.sh b/config.example.sh similarity index 92% rename from config.sh rename to config.example.sh index 9c3f777..8d3200c 100644 --- a/config.sh +++ b/config.example.sh @@ -8,6 +8,8 @@ site_description="thoughts about mainly computers... maybe recipes and cats too? site_link="https://k0.tel/" publish_dir="." +top_menu="fedi | rss | sauna" + # Put CSS between < - $notecount notes | noter + $notecount notes | $site_title @@ -163,7 +165,7 @@ echo "

$site_title


-
fedi | rss | sauna
" >"$output_file" +
$top_menu
" >"$output_file" generate_top_year_bar >>"$output_file" # loop for every note in notes @@ -180,7 +182,7 @@ done # bottom navigation nlog "applying settings" -checksetting "
generated with noter
" "$showgenerator" +checksetting "
generated with noter
" "$showgenerator" checksetting "" "$backtotop" checksetting "
last Updated: $(date +"%Y-%m-%d %H:%M:%S")
" "$lastupdated"