From ca57c4811fc0643fec4370d252b561c4513d0944 Mon Sep 17 00:00:00 2001 From: "Leslie P. Polzer" Date: Tue, 15 Jan 2019 20:34:57 -0800 Subject: [PATCH 1/5] Fix 'make spritz' to clean up SQlite database. --- makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/makefile b/makefile index 55e2632..098f743 100644 --- a/makefile +++ b/makefile @@ -114,6 +114,7 @@ publish: ## Rsync the website to the public web server (does not rebuild site fi # ‘make zap’ deletes all output files as well. spritz: ## Just cleans up LaTeX working folders and Pollen cache rm -rf posts/pollen-latex-work pollen-latex-work; \ + rm -f notepad.sqlite; \ raco pollen reset zap: ## Does a spritz and also deletes all HTML and PDF output From dbc375d110509186ea32e80d52f7969e28d5aa52 Mon Sep 17 00:00:00 2001 From: "Leslie P. Polzer" Date: Tue, 15 Jan 2019 20:35:16 -0800 Subject: [PATCH 2/5] Clarify README for setting up a new site. --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5ed2579..71a20f0 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,9 @@ Nonetheless, it works pretty well as a static blog generator. Pollen comes with * Ideally you'll be on a system that can run Bash scripts and the GNU `make` utility * If you do use the included makefile to build the site, you will want to install [HTML5 Tidy](http://www.html-tidy.org) — or remove references to the `tidy` command in the makefile. -Then just plop all the files from this repository in a folder. +Next, just plop all the files from this repository in a folder. +Move my `posts` directory out of the way to start writing your own content, e.g. `mv posts posts.example ; make spritz` +Edit `feed.xml.pp`, filling in your own RSS metadata. ## Tinkering From a0c601d0d11f4111ef283e848ad87e646f5c9f31 Mon Sep 17 00:00:00 2001 From: "Leslie P. Polzer" Date: Tue, 15 Jan 2019 20:43:02 -0800 Subject: [PATCH 3/5] makefile: fulfill the promise of actually calling the spritz target in the zap target. --- makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/makefile b/makefile index 098f743..f130bac 100644 --- a/makefile +++ b/makefile @@ -117,8 +117,7 @@ spritz: ## Just cleans up LaTeX working folders and Pollen cache rm -f notepad.sqlite; \ raco pollen reset -zap: ## Does a spritz and also deletes all HTML and PDF output - rm -rf posts/pollen-latex-work pollen-latex-work; \ +zap: spritz ## Does a spritz and also deletes all HTML and PDF output rm posts/*.html posts/*.pdf; \ rm feed.xml; \ rm *.html *.pdf; \ From b8808cd634ec1d35c74eacb8343934976efdca51 Mon Sep 17 00:00:00 2001 From: "Leslie P. Polzer" Date: Tue, 15 Jan 2019 21:59:46 -0800 Subject: [PATCH 4/5] Fix #lang line in about.html.pm. For some reason it was "Pollen" instead of "pollen", which didn't work for me. --- about.html.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/about.html.pm b/about.html.pm index 7501f53..e587a6c 100644 --- a/about.html.pm +++ b/about.html.pm @@ -1,4 +1,4 @@ -#lang Pollen +#lang pollen ◊(define-meta title "About The Notepad") From d101b689aad2883d81e066f316234220419316f1 Mon Sep 17 00:00:00 2001 From: Joel Dueck Date: Sun, 27 Jan 2019 12:18:51 -0600 Subject: [PATCH 5/5] Move SQLite cache delete from spritz to zap --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index f130bac..4b2cfdb 100644 --- a/makefile +++ b/makefile @@ -114,13 +114,13 @@ publish: ## Rsync the website to the public web server (does not rebuild site fi # ‘make zap’ deletes all output files as well. spritz: ## Just cleans up LaTeX working folders and Pollen cache rm -rf posts/pollen-latex-work pollen-latex-work; \ - rm -f notepad.sqlite; \ raco pollen reset zap: spritz ## Does a spritz and also deletes all HTML and PDF output rm posts/*.html posts/*.pdf; \ rm feed.xml; \ rm *.html *.pdf; \ + rm -f notepad.sqlite; \ raco pollen reset post: ## Quickly start a new post from template