Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- run: rustup override set ${{ env.RUST_VERSION }}
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
- name: Install Zola
run: cargo install --locked --git https://github.com/getzola/zola --rev 45d3f8d6285f0b47013c5fa31eb405332118af8b
run: cargo install --locked --git https://github.com/getzola/zola --rev 29540e9897dbe8aca388b13f7bdf615985f6ca2c # v0.22.1

- run: zola build
- run: cp CNAME ./public/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/snapshot_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- run: rustup override set ${{ env.RUST_VERSION }}
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
- name: Install Zola
run: cargo install --locked --git https://github.com/getzola/zola --rev 45d3f8d6285f0b47013c5fa31eb405332118af8b
run: cargo install --locked --git https://github.com/getzola/zola --rev 29540e9897dbe8aca388b13f7bdf615985f6ca2c # v0.22.1

- run: git fetch --depth 2
- run: git checkout origin/main
Expand Down
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,14 @@
/site
/public

# generated by zola
# generated by zola < 0.22 (people might still have them lying around)
/static/styles/syntax-theme-dark.css
/static/styles/syntax-theme-light.css

# generated by zola >= 0.22
/static/giallo-dark.css
/static/giallo-light.css

# these are old compiled sass files, people might still have them lying arouynd
/static/styles/vendor.css
/static/styles/app.css
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ It uses [Zola](https://www.getzola.org/) and is deployed to GitHub Pages via Git

## Installing Zola

You need at least zola v0.21.0 to render the blog.
You need at least zola v0.22.0 to render the blog.

Compile from source:

```sh
cargo install --debug --locked --git https://github.com/getzola/zola --rev 45d3f8d6285f0b47013c5fa31eb405332118af8b
cargo install --debug --locked --git https://github.com/getzola/zola --rev 29540e9897dbe8aca388b13f7bdf615985f6ca2c
```

You can also find a list of package managers that provide zola [here](https://www.getzola.org/documentation/getting-started/installation/).
Prebuilt binaries are available for download [here](https://github.com/getzola/zola/releases/tag/v0.21.0).
Prebuilt binaries are available for download [here](https://github.com/getzola/zola/releases/tag/v0.22.1).
If you use [mise](https://mise.jdx.dev), you can run the pinned version of zola directly with `mise run zola`.

## Building
Expand Down
12 changes: 5 additions & 7 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,13 @@ feed_filenames = ["feed.xml", "releases.json"]
build_search_index = false

[markdown]
highlight_code = true
highlight_theme = "css"
highlight_themes_css = [
{ theme = "boron", filename = "styles/syntax-theme-dark.css" },
{ theme = "OneHalfLight", filename = "styles/syntax-theme-light.css" },
]
bottom_footnotes = true
insert_anchor_links = "left"
extra_syntaxes_and_themes = ["syntaxes"]

[markdown.highlighting]
light_theme = "light-plus"
dark_theme = "dark-plus"
style = "class"

[extra]
# Put all your custom variables here
4 changes: 2 additions & 2 deletions content/Rust-1.89.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ fn items(scores: &[u8]) -> std::slice::Iter<u8> {

Code like this will now produce a warning by default:

```text
```txt
warning: hiding a lifetime that's elided elsewhere is confusing
--> src/lib.rs:1:18
|
Expand Down Expand Up @@ -215,4 +215,4 @@ Check out everything that changed in [Rust](https://github.com/rust-lang/rust/re

Many people came together to create Rust 1.89.0. We couldn't have done it without all of you. [Thanks!](https://thanks.rust-lang.org/rust/1.89.0/)

[platform_support_page]: https://doc.rust-lang.org/rustc/platform-support.html
[platform_support_page]: https://doc.rust-lang.org/rustc/platform-support.html
2 changes: 1 addition & 1 deletion mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ zola = "zola"
serve = "zola serve --fast --open"

[tools]
zola = "0.21.0"
zola = "0.22.1"
14 changes: 0 additions & 14 deletions syntaxes/custom_plain_text.sublime-syntax

This file was deleted.