From: Amin Bandali Date: Fri, 6 Dec 2019 05:11:31 +0000 (-0500) Subject: tweak date format, add .gitignore and Makefile X-Git-Url: https://git.shemshak.org/~bandali/bndl.org/commitdiff_plain/38037201dbf3f00be325989475299157654ba9da tweak date format, add .gitignore and Makefile --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..45ddf0a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +site/ diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..35f5ebb --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +BASE_DIR = $(CURDIR) +OUT_DIR = $(BASE_DIR)/site + +RSYNC_PARAMS = --exclude-from='.rsync-exclude' --delete -avzP + +SSH_USER = amin@shemshak.org +SSH_DEST = /var/www/bandali.eu.org/ + +all: build + +build: + haunt build + +watch: build + haunt serve --watch + +deploy: + rsync $(RSYNC_PARAMS) $(OUT_DIR) $(SSH_USER):$(SSH_DEST) + +clean: + [ ! -d $(OUT_DIR) ] || rm -rf $(OUT_DIR) diff --git a/haunt.scm b/haunt.scm index c5e13e7..eebcb13 100644 --- a/haunt.scm +++ b/haunt.scm @@ -17,7 +17,7 @@ (define my-url (string-append (symbol->string my-scheme) "://" my-domain)) -(define my-date-format "~B ~d, ~Y") +(define my-date-format "~B ~e, ~Y") (define license-page-title "Licensing Information") (define (stylesheet name)