Skip to content

Commit f48df79

Browse files
committed
Upgrade zola
1 parent 3dcf478 commit f48df79

6 files changed

Lines changed: 410 additions & 122 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Install Zola
1818
run: |
1919
mkdir -p bin/
20-
curl -Lo zola.tar.gz https://github.com/getzola/zola/releases/download/v0.20.0/zola-v0.20.0-x86_64-unknown-linux-gnu.tar.gz
20+
curl -Lo zola.tar.gz https://github.com/getzola/zola/releases/download/v0.22.1/zola-v0.22.1-x86_64-unknown-linux-gnu.tar.gz
2121
tar xvf zola.tar.gz -C bin
2222
echo "$(pwd)/bin" >> $GITHUB_PATH
2323
rm zola.tar.gz
@@ -34,4 +34,4 @@ jobs:
3434
uses: actions/deploy-pages@v4
3535
env:
3636
name: github-pages
37-
url: ${{ steps.deployment.outputs.page_url }}
37+
url: ${{ steps.deployment.outputs.page_url }}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
These are the sources for my personal website.
22

3-
Install [Zola v0.19.2](https://github.com/getzola/zola/releases/tag/v0.19.2).
3+
Install [Zola v0.22.1](https://github.com/getzola/zola/releases/tag/v0.22.1).
44

55
Then, run `zola serve` from a terminal in the site working directory. The first time you do this, it could take a long time, as it has to process a lot of images.
66

@@ -21,4 +21,4 @@ You can interactively edit now. Changes should show up nearly immediately.
2121
2222
# Deployment
2323
24-
It seems the token described in https://help.github.com/en/articles/virtual-environments-for-github-actions#creating-and-using-secrets-encrypted-variables doesn't work for pushing, so you'll need to add a CI secret called `TOKEN` with permissions to do this! You'll also need to create a `gh-pages` branch and might need to change your default branch name from `root`.
24+
It seems the token described in https://help.github.com/en/articles/virtual-environments-for-github-actions#creating-and-using-secrets-encrypted-variables doesn't work for pushing, so you'll need to add a CI secret called `TOKEN` with permissions to do this! You'll also need to create a `gh-pages` branch and might need to change your default branch name from `root`.

config.toml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,19 @@ taxonomies = [
1414
ignored_content = [ "*/target/debug/*", "*/target/release/*" ]
1515

1616
[markdown]
17-
highlight_code = true
18-
highlight_theme = "css"
19-
# highlight_themes_css = [
20-
# { theme = "nyx-bold", filename = "syntax-highlighting.css" },
21-
# ]
17+
render_emoji = true
18+
smart_punctuation = false
19+
definition_list = true
20+
lazy_async_image = false # So we can have rich alt text
21+
bottom_footnotes = true
22+
github_alerts = true
23+
insert_anchor_links = "heading"
2224
external_links_target_blank = true
2325

26+
[markdown.highlighting]
27+
style = "class"
28+
theme = "catppuccin-macchiato"
29+
2430

2531
[extra]
2632
author = "Ana Hobden"

flake.lock

Lines changed: 0 additions & 27 deletions
This file was deleted.

flake.nix

Lines changed: 0 additions & 86 deletions
This file was deleted.

0 commit comments

Comments
 (0)