From e3638d03169474cb0dbae4d55f8fbc35e5b05c73 Mon Sep 17 00:00:00 2001 From: L3D Date: Tue, 7 Mar 2023 22:10:20 +0100 Subject: [PATCH] Optimize template and development --- Makefile | 8 ++++++++ templates/galaxy.svg | 24 +++++++++++++++--------- 2 files changed, 23 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index cf2e786..670ae78 100644 --- a/Makefile +++ b/Makefile @@ -33,6 +33,14 @@ server: lektor server $(LEKTOR_SERVER_FLAGS) $(LEKTOR_PLUGIN_FLAGS) fi +dev: + lektor clean --yes + if python3 -m lektor --version 2>/dev/null; then + python3 -m lektor server $(LEKTOR_SERVER_FLAGS) $(LEKTOR_PLUGIN_FLAGS) + else + lektor server $(LEKTOR_SERVER_FLAGS) $(LEKTOR_PLUGIN_FLAGS) + fi + deploy: lektor clean --yes lektor plugin flush-cache diff --git a/templates/galaxy.svg b/templates/galaxy.svg index 8f5ba8d..22cbf1a 100644 --- a/templates/galaxy.svg +++ b/templates/galaxy.svg @@ -19,7 +19,7 @@ - +