diff --git a/Makefile b/Makefile index 237a9a8..831062f 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ THEMES_DIR = themes CONTAINER_WORKDIR = /workdir CONTAINER_ENGINE ?= podman CE_RUN = $(CONTAINER_ENGINE) run -i --rm -w $(CONTAINER_WORKDIR) -v $(PWD):$(CONTAINER_WORKDIR):Z -ZOLA_COMMAND := $(CE_RUN) docker.io/j1mc/docker-zola:latest +ZOLA_COMMAND := $(CE_RUN) ghcr.io/getzola/zola:v0.19.1 export @@ -58,6 +58,10 @@ update-themes: ## Update all themes loaded as git submodules build: ## Build content for publishing $(ZOLA_COMMAND) build +.PHONY:serve +serve: ## Run a local instance of the site for debugging + $(ZOLA_COMMAND) serve + .PHONY:publish publish: .check-env-publish build ## Send the files to hosting provider using scp rsync -e 'ssh -o StrictHostKeyChecking=accept-new' -atvz $(OUTPUT_DIR)/* $(TARGET_SYSTEM):$(TARGET_DIR)/ diff --git a/config.toml b/config.toml index a0ceb96..f8375af 100644 --- a/config.toml +++ b/config.toml @@ -10,21 +10,22 @@ compile_sass = true theme = "hermit_zola" -# Whether to do syntax highlighting -# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola -highlight_code = true -highlight_theme = "charcoal" - # Whether to build a search index to be used later on by a JavaScript library build_search_index = true # When set to "true", an RSS feed is automatically generated. -generate_rss = true +generate_feeds = true taxonomies = [ {name = "tags", rss = true}, ] +[markdown] +# Whether to do syntax highlighting +# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola +highlight_code = true +highlight_theme = "charcoal" + [extra] # Put all your custom variables here date_format = "%F"