Skip to content

Commit 70514a4

Browse files
Update Zola to 0.14.1 (fixes rust-gamedev#758) (rust-gamedev#849)
1 parent 126abb1 commit 70514a4

File tree

16 files changed

+18
-20
lines changed

16 files changed

+18
-20
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
env:
1212
BASE_URL: https://github.com/getzola/zola/releases/download
13-
VERS: v0.12.2
13+
VERS: v0.14.1
1414
ARCH: x86_64-unknown-linux-gnu
1515
# https://github.com/marketplace/actions/github-pages#warning-limitation
1616
GITHUB_PAT: ${{ secrets.GITHUB_PAT }}

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,16 @@ To contribute to the newsletter, please see [CONTRIBUTING].
88

99
## Building from Source
1010

11-
The site is built and deployed automatically from the repo (see .github/workflows/ci.yml).
11+
The site is built and deployed automatically from the repo (see
12+
[.github/workflows/ci.yml][ci]).
1213

1314
To preview/experiment locally:
1415

15-
1) [Install Zola][zola-get].
16+
1) [Install Zola][zola-get]. Make sure to use 0.14.1, to match [our CI config][ci]!
1617
2) Run `zola serve --drafts` and open the link.
1718

1819
[zola-get]: https://getzola.org/documentation/getting-started/installation
20+
[ci]: https://github.com/rust-gamedev/rust-gamedev.github.io/blob/source/.github/workflows/ci.yml
1921

2022
## License
2123

config.toml

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@ description = "Stay up to date with the progress and recent developments in the
33
base_url = "https://gamedev.rs/"
44
default_language = "en"
55
compile_sass = true
6-
highlight_code = true
76
generate_feed = true
87
feed_filename = "rss.xml"
98

9+
[markdown]
10+
highlight_code = true
11+
1012
[extra]
1113
date_format = "%F"
1214

content/news/006/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ It was also the first anniversary of This Week in Veloren!
109109
There has been a devblog each week since the end of January last year.
110110
Here are some of the big changes in this release:
111111

112-
```text
112+
```txt
113113
- Added initial region system implementation
114114
- Added moon and clouds
115115
- Added proper SFX system

content/news/007/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ is a large part of what is needed for The Content Update.
196196

197197
Here is the February changelog:
198198

199-
```text
199+
```txt
200200
- Fixed NPCs attacking the player forever after killing them
201201
- Extend run sfx to small animals to prevent sneak attacks by geese
202202
- Added sfx for wielding/unwielding weapons

content/news/008/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ Networking is also being reworked from the ground up.
348348

349349
Here is the March changelog:
350350

351-
```text
351+
```txt
352352
- Added sfx for wielding/unwielding weapons
353353
- Fixed NPCs attacking the player forever after killing them
354354
- Added sfx for collecting, dropping and using inventory items

content/news/009/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ more alive.
495495

496496
Here is the April changelog:
497497

498-
```text
498+
```txt
499499
- Complete rewrite of the combat system into a state machine
500500
- Abilities like Dash and Triplestrike
501501
- Fireball explosions

content/news/010/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ Also, check out a new "Game of Life" demo [here][iced-life].
737737

738738
### [beehive]
739739

740-
```text
740+
```txt
741741
yz +Y
742742
__
743743
yx / \ xz +X

content/news/011/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ increased incremental build time, and build artifacts size.
748748
nanoserde may be useful when the whole game has less than a minute
749749
clean build time and spending ~40s on serde is unreasonable.
750750

751-
```text
751+
```txt
752752
> cargo tree
753753
nanoserde v0.1.0 (/../nanoserde)
754754
└── nanoserde-derive v0.1.0 (/../nanoserde/derive)

content/news/013/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,7 @@ using `#` as a prefix.
10161016
Here is an example of this feature is being tested in
10171017
an experimental offline 3D renderer (not open sourced):
10181018

1019-
```text
1019+
```txt
10201020
// Called by `set_simple(scene: _, sdf: _, id: _)`.
10211021
dyon_fn!{fn set_simple__scene_sdf_id(
10221022
scene: #&mut SimpleScene,

content/news/016/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ It has a handful of features that make it stand out:
531531
Reddit user [vlmutolo] also made a [toy benchmark] comparing rkyv against serde
532532
and bincode and found that rkyv had promising initial numbers:
533533

534-
```text
534+
```txt
535535
serialize (bincode): 89 ns/iter
536536
serialize (rkyv): 86 ns/iter
537537

content/news/026/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@ showing step by step process of how one could build them on their own.
818818

819819
### [hexagonal_pathfinding_astar]
820820

821-
```plain
821+
```txt
822822
_______
823823
/ E \
824824
_______/ (4,3) \

templates/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% import "includes/post_list.html" as macros %}
22
<!DOCTYPE html>
3-
<html lang="{% block lang_decl %}{{ config.default_language }}{% endblock lang_decl %}">
3+
<html lang="{{ lang }}">
44

55
<head>
66
<meta charset="utf-8">

templates/page.html

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
{% extends "index.html" %}
22

3-
{% block lang_decl %}{{ lang }}{% endblock lang_decl %}
4-
53
{% block seo %}
64
<title>{{ page.title }} | {{ config.title | default(value="Minima") }}</title>
75

templates/post.html

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
{% extends "index.html" %}
22

3-
{% block lang_decl %}{{ lang }}{% endblock lang_decl %}
4-
53
{% block seo %}
64
<title>{{ page.title }} | {{ config.title | default(value="Minima") }}</title>
75

templates/posts.html

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
{% extends "index.html" %}
22

3-
{% block lang_decl %}{{ lang }}{% endblock lang_decl %}
4-
53
{% block content %}
64
<div class="posts wrapper">
75
<h2 class="post-list-heading">{{ section.title | default(value="Latest News") }}</h2>

0 commit comments

Comments
 (0)