fusch.online

git / lists / casts

git.fusch.online/planner

Generate static pages from a list of links
git clone git://git.fusch.online/planner
Log / Files / Readme / Issues

commit e485adb21cdaa30abac0e22341320501f5fe6c3d
parent 380263f297f2f9b6cfacf68898b9ee57a2badf3f
Author: tutti <tutti@fusch.online>
Date:   Sat, 29 Jun 2019 23:18:31 +0200

fix typo, force  removal

Diffstat:
Mplanner | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/planner b/planner @@ -8,7 +8,8 @@ dateformat="--rfc-3339=seconds" builddate=$(date "$dateformat") baseurl=${BASEURL:-example.com} sitetitle="planner" -config=./planner.config + +config=./config print_html_head() { @@ -66,7 +67,7 @@ print_atom_head() { EOF } -print_aotom_tail() { +print_atom_tail() { cat << EOF </feed> EOF @@ -96,7 +97,7 @@ print_atom_tail() { # main mkdir -p $site touch ./db.tsv -rm $site/*.html $site/atom.xml +rm -f $site/*.html $site/atom.xml [[ -f $config ]] && source "$config"