From 5e4e21009b07332bdffe2c3521b22ff3400839f9 Mon Sep 17 00:00:00 2001 From: Erik Grobecker Date: Thu, 17 Oct 2024 11:54:36 +0200 Subject: [PATCH] updated nixpacks --- Dockerfile | 9 --------- config.toml | 4 ++++ content/blog/test.md | 4 ++-- nixpacks.toml | 4 ++-- 4 files changed, 8 insertions(+), 13 deletions(-) delete mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 3ad267d..0000000 --- a/Dockerfile +++ /dev/null @@ -1,9 +0,0 @@ -FROM ghcr.io/getzola/zola:v0.19.2 AS zola - -COPY . /project -WORKDIR /project -RUN ["zola", "build"] - -FROM ghcr.io/static-web-server/static-web-server:2 -WORKDIR / -COPY --from=zola /project/public /public \ No newline at end of file diff --git a/config.toml b/config.toml index 9455123..c6911ef 100644 --- a/config.toml +++ b/config.toml @@ -12,6 +12,10 @@ build_search_index = true author = "Erik" +generate_feeds = true + +taxonomies = [{ name = "tags", feed = true }] + # smart_punctuation = true # bottom_footnotes = true diff --git a/content/blog/test.md b/content/blog/test.md index e048be0..7fd9053 100644 --- a/content/blog/test.md +++ b/content/blog/test.md @@ -1,11 +1,11 @@ +++ title = "test" -draft = true +draft = false insert_anchor_links = "left" tags = [ "typst" ] render = true -[extra] +# [extra] # poor = true +++ diff --git a/nixpacks.toml b/nixpacks.toml index 4cc31f9..0af4735 100644 --- a/nixpacks.toml +++ b/nixpacks.toml @@ -1,7 +1,7 @@ -providers = ["..."] +providers = ["...", "staticfile"] [phases.setup] nixPkgs = ["zola"] [phases.build] -cmds = ["echo building!", "zola build"] \ No newline at end of file +cmds = ["zola build"]