diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml
index 3a47d0b2cf..561b204d02 100644
--- a/.github/workflows/website.yml
+++ b/.github/workflows/website.yml
@@ -27,7 +27,7 @@ jobs:
- name: Build CSS
run: npx @tailwindcss/cli -m -i input.css -o static/main.css
- name: Download Zola
- run: curl -fsSL https://github.com/getzola/zola/releases/download/v0.22.1/zola-v0.22.1-x86_64-unknown-linux-gnu.tar.gz | tar xz
+ run: curl -fsSL https://github.com/getzola/zola/releases/download/v0.23.1/zola-v0.23.1-x86_64-unknown-linux-gnu.tar.gz | tar xz
- name: Build site
run: ./zola build
- name: Upload static files as artifact
diff --git a/website/content/setup/index.md b/website/content/setup/index.md
index 7595b628b9..7cdfb41e26 100644
--- a/website/content/setup/index.md
+++ b/website/content/setup/index.md
@@ -2,8 +2,6 @@
title = "Setup"
+++
-
-
## Installing Rust
Before installing Rustlings, you must have the **latest version of Rust** installed.
@@ -25,13 +23,13 @@ The following command will download and compile Rustlings:
cargo install rustlings
```
-{% details(summary="If the installation fails…") %}
+{% %}
- Make sure you have the latest Rust version by running `rustup update`
- Try adding the `--locked` flag: `cargo install rustlings --locked`
- Otherwise, please [report the issue](https://github.com/rust-lang/rustlings/issues/new)
-{% end %}
+{% %}
## Initialization
@@ -41,7 +39,7 @@ After installing Rustlings, run the following command to initialize the `rustlin
rustlings init
```
-{% details(summary="If the command rustlings can't be found…") %}
+{% %}
You are probably using Linux and installed Rust using your package manager.
@@ -51,7 +49,7 @@ Sadly, package managers often don't add `~/.cargo/bin` to your `PATH` environmen
- Either add `~/.cargo/bin` manually to `PATH`
- Or uninstall Rust from the package manager and [install it using the official way with `rustup`](https://www.rust-lang.org/tools/install)
-{% end %}
+{% %}
Now, go into the newly initialized directory and launch Rustlings for further instructions on getting started with the exercises:
diff --git a/website/content/usage/index.md b/website/content/usage/index.md
index 88dabf4ae4..0185d737e7 100644
--- a/website/content/usage/index.md
+++ b/website/content/usage/index.md
@@ -2,8 +2,6 @@
title = "Usage"
+++
-
-
## Doing exercises
The exercises are sorted by topic and can be found in the subdirectory `exercises/`.
@@ -23,13 +21,13 @@ After the [initialization](@/setup/index.md#initialization), Rustlings can be la
This will start the _watch mode_ which walks you through the exercises in a predefined order (what we think is best for newcomers).
It will rerun the current exercise automatically every time you change the exercise's file in the `exercises/` directory.
-{% details(summary="If detecting file changes in the exercises/ directory fails…") %}
+{% %}
You can add the **`--manual-run`** flag (`rustlings --manual-run`) to manually rerun the current exercise by entering `r` in the watch mode.
Please [report the issue](https://github.com/rust-lang/rustlings/issues/new) with some information about your operating system and whether you run Rustlings in a container or a virtual machine (e.g. WSL).
-{% end %}
+{% %}
## Exercise List
diff --git a/website/templates/base.html b/website/templates/base.html
index 1a55aebf67..592506d6f7 100644
--- a/website/templates/base.html
+++ b/website/templates/base.html
@@ -6,25 +6,25 @@
{%- set timestamp = now(timestamp=true) -%}
- {%- if page.title -%}
+ {%- if page?.title -%}
{% set_global title = page.title %}
- {%- elif section.title -%}
+ {%- elif section?.title -%}
{% set_global title = section.title %}
{%- else -%}
{% set_global title = config.title %}
{%- endif -%}
- {%- if page.description -%}
+ {%- if page?.description -%}
{% set_global description = page.description %}
- {%- elif section.description -%}
+ {%- elif section?.description -%}
{% set_global description = section.description %}
{%- else -%}
{% set_global description = config.description %}
{%- endif -%}
- {%- if page.permalink -%}
+ {%- if page?.permalink -%}
{% set_global permalink = page.permalink %}
- {%- elif section.permalink -%}
+ {%- elif section?.permalink -%}
{% set_global permalink = section.permalink %}
{%- endif %}
@@ -59,7 +59,7 @@