From 53fa94128795afcfcde6fa8d6df80483dbd5aaed Mon Sep 17 00:00:00 2001 From: Joe Clay <27cupsofcoffee@gmail.com> Date: Fri, 4 Sep 2020 15:27:32 +0100 Subject: [PATCH] Update Zola to 0.11 --- .github/workflows/ci.yml | 2 +- config.toml | 3 ++- sass/_extra.scss | 5 +++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8625739b3..2ec447f55 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest env: BASE_URL: https://github.com/getzola/zola/releases/download - VERS: v0.10.1 + VERS: v0.11.0 ARCH: x86_64-unknown-linux-gnu # https://github.com/marketplace/actions/github-pages#warning-limitation GITHUB_PAT: ${{ secrets.GITHUB_PAT }} diff --git a/config.toml b/config.toml index f46e327c8..f849a592c 100644 --- a/config.toml +++ b/config.toml @@ -4,7 +4,8 @@ base_url = "https://rust-gamedev.github.io/" default_language = "en" compile_sass = true highlight_code = true -generate_rss = true +generate_feed = true +feed_filename = "rss.xml" [extra] date_format = "%F" diff --git a/sass/_extra.scss b/sass/_extra.scss index 8c5fa5bc7..27fbd7879 100644 --- a/sass/_extra.scss +++ b/sass/_extra.scss @@ -7,6 +7,11 @@ li { margin: 15px 0; } +pre > code { + // To avoid grey background on code blocks. + background-color: inherit; +} + .intro { color: #ffffff; background-color: $brand-color;