From 2b9630469c491951b304d98bbcd832acbd24ac51 Mon Sep 17 00:00:00 2001 From: Ana Hobden Date: Thu, 12 Dec 2024 21:53:45 -0800 Subject: [PATCH] Update zola --- .github/workflows/publish.yml | 2 +- config.toml | 4 ++-- content/rss.xml | 30 ------------------------------ 3 files changed, 3 insertions(+), 33 deletions(-) delete mode 100644 content/rss.xml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6baaafb49..541d4f6f2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,7 +17,7 @@ jobs: - name: Install Zola run: | mkdir -p bin/ - curl -Lo zola.tar.gz https://github.com/getzola/zola/releases/download/v0.18.0/zola-v0.18.0-x86_64-unknown-linux-gnu.tar.gz + curl -Lo zola.tar.gz https://github.com/getzola/zola/releases/download/v0.19.2/zola-v0.19.2-x86_64-unknown-linux-gnu.tar.gz tar xvf zola.tar.gz -C bin echo "$(pwd)/bin" >> $GITHUB_PATH rm zola.tar.gz diff --git a/config.toml b/config.toml index e09f84808..9572586d7 100644 --- a/config.toml +++ b/config.toml @@ -2,8 +2,8 @@ title = "Hoverbear" description = "A computer scientist working in open source towards a more hopeful future." default_language = "en" base_url = "https://hoverbear.org" -generate_feed = true -feed_filename = "rss.xml" +generate_feeds = true +feed_filenames = ["rss.xml"] compile_sass = true build_search_index = true diff --git a/content/rss.xml b/content/rss.xml deleted file mode 100644 index 985542f97..000000000 --- a/content/rss.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - {{ config.title }} - {%- if term %} - {{ term.name }} - {%- elif section.title %} - {{ section.title }} - {%- endif -%} - - {%- if section -%} - {{ section.permalink | escape_xml | safe }} - {%- else -%} - {{ config.base_url | escape_xml | safe }} - {%- endif -%} - - {{ config.description }} - Zola - {{ config.default_language }} - - {{ last_updated | date(format="%a, %d %b %Y %H:%M:%S %z") }} - {%- for page in pages %} - - {{ page.title }} - {{ page.date | date(format="%a, %d %b %Y %H:%M:%S %z") }} - {{ page.permalink | escape_xml | safe }} - {{ page.permalink | escape_xml | safe }} - {% if page.summary %}{{ page.summary }}{% else %}{{ page.content }}{% endif %} - - {%- endfor %} - - \ No newline at end of file