From 95bd166e9634bbe744e2635c206f750037516258 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Mon, 9 Jun 2025 16:22:50 +0200 Subject: work on the kamakura post MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert Günzler --- .gitignore | 4 +++ makefile | 8 +----- serve.mk | 5 ++++ site/kamakura.html | 73 +++++++++++++++++++++++++++++++++++----------------- src/inc/kamakura.htm | 71 ++++++++++++++++++++++++++++++++++---------------- src/inc/kamakura.md | 62 +++++++++++++++++++++++++++----------------- 6 files changed, 147 insertions(+), 76 deletions(-) create mode 100644 serve.mk diff --git a/.gitignore b/.gitignore index 4588d35..9f725bf 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,10 @@ bin/ .envrc TODO +# root is temporary workspace for pictures +*.jpg +*.png + # TODO: logos media/interface/logo* media/interface/logo_small* diff --git a/makefile b/makefile index 61f632a..8a24e90 100644 --- a/makefile +++ b/makefile @@ -30,13 +30,6 @@ gen: $(gen_BIN) $(SRC) watch: @ find . -print | entr -nc -dd -- $(MAKE) - -CADDY_HTTP_PORT ?= 1414 - -serve: - @ caddy fmt --overwrite - @ caddy run --watch - watch-and-serve: @ ${MAKE} -j2 watch serve @@ -44,5 +37,6 @@ was: watch-and-serve .PHONY: all clean serve watch watch-and-serve was +include serve.mk include webdeploy.mk include edit.mk diff --git a/serve.mk b/serve.mk new file mode 100644 index 0000000..9ecb486 --- /dev/null +++ b/serve.mk @@ -0,0 +1,5 @@ +CADDY_HTTP_PORT ?= 1414 + +serve: + @ caddy fmt --overwrite + @ caddy run --watch diff --git a/site/kamakura.html b/site/kamakura.html index aa3f56f..ff2acb7 100644 --- a/site/kamakura.html +++ b/site/kamakura.html @@ -35,14 +35,16 @@ 2023-04-22 -

I call this one “trip zero”, because it was very much a trial run for me. The effects of having just moved to Japan for the year were still -fresh and I altogether didn’t feel like exploring quite yet.

-

Kamakura is a common day-trip from Tokyo and a short 1.5h train ride -from my home near Asakusa. The weather was pretty meh, very cloudy and -it looked like it would rain any moment.

+fresh, getting used to working from new places without consistent access +to an office and the altogether unfamliarness of my life just made me +not feel like exploring quite yet.

+

Kamakura is a common day-trip from Tokyo and a quick 1.5h train ride +from my home near Asakusa. The weather was pretty meh that day, very +cloudy and it looked like it would rain any moment.