Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Zola to 0.14.1 (fixes #758) #849

Merged
merged 6 commits into from
Nov 8, 2021
Merged
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/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
env:
BASE_URL: https://github.com/getzola/zola/releases/download
VERS: v0.12.2
VERS: v0.14.1
ARCH: x86_64-unknown-linux-gnu
# https://github.com/marketplace/actions/github-pages#warning-limitation
GITHUB_PAT: ${{ secrets.GITHUB_PAT }}
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,16 @@ To contribute to the newsletter, please see [CONTRIBUTING].

## Building from Source

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

To preview/experiment locally:

1) [Install Zola][zola-get].
17cupsofcoffee marked this conversation as resolved.
Show resolved Hide resolved
1) [Install Zola][zola-get]. Make sure to use 0.14.1, to match [our CI config][ci]!
2) Run `zola serve --drafts` and open the link.

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

## License

Expand Down
4 changes: 3 additions & 1 deletion config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ description = "Stay up to date with the progress and recent developments in the
base_url = "https://gamedev.rs/"
default_language = "en"
compile_sass = true
highlight_code = true
generate_feed = true
feed_filename = "rss.xml"

[markdown]
highlight_code = true

[extra]
date_format = "%F"

Expand Down
2 changes: 1 addition & 1 deletion content/news/006/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ It was also the first anniversary of This Week in Veloren!
There has been a devblog each week since the end of January last year.
Here are some of the big changes in this release:

```text
```txt
- Added initial region system implementation
- Added moon and clouds
- Added proper SFX system
Expand Down
2 changes: 1 addition & 1 deletion content/news/007/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ is a large part of what is needed for The Content Update.

Here is the February changelog:

```text
```txt
- Fixed NPCs attacking the player forever after killing them
- Extend run sfx to small animals to prevent sneak attacks by geese
- Added sfx for wielding/unwielding weapons
Expand Down
2 changes: 1 addition & 1 deletion content/news/008/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ Networking is also being reworked from the ground up.

Here is the March changelog:

```text
```txt
- Added sfx for wielding/unwielding weapons
- Fixed NPCs attacking the player forever after killing them
- Added sfx for collecting, dropping and using inventory items
Expand Down
2 changes: 1 addition & 1 deletion content/news/009/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ more alive.

Here is the April changelog:

```text
```txt
- Complete rewrite of the combat system into a state machine
- Abilities like Dash and Triplestrike
- Fireball explosions
Expand Down
2 changes: 1 addition & 1 deletion content/news/010/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,7 @@ Also, check out a new "Game of Life" demo [here][iced-life].

### [beehive]

```text
```txt
yz +Y
__
yx / \ xz +X
Expand Down
2 changes: 1 addition & 1 deletion content/news/011/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ increased incremental build time, and build artifacts size.
nanoserde may be useful when the whole game has less than a minute
clean build time and spending ~40s on serde is unreasonable.

```text
```txt
> cargo tree
nanoserde v0.1.0 (/../nanoserde)
└── nanoserde-derive v0.1.0 (/../nanoserde/derive)
Expand Down
2 changes: 1 addition & 1 deletion content/news/013/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -1016,7 +1016,7 @@ using `#` as a prefix.
Here is an example of this feature is being tested in
an experimental offline 3D renderer (not open sourced):

```text
```txt
// Called by `set_simple(scene: _, sdf: _, id: _)`.
dyon_fn!{fn set_simple__scene_sdf_id(
scene: #&mut SimpleScene,
Expand Down
2 changes: 1 addition & 1 deletion content/news/016/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ It has a handful of features that make it stand out:
Reddit user [vlmutolo] also made a [toy benchmark] comparing rkyv against serde
and bincode and found that rkyv had promising initial numbers:

```text
```txt
serialize (bincode): 89 ns/iter
serialize (rkyv): 86 ns/iter

Expand Down
2 changes: 1 addition & 1 deletion content/news/026/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,7 @@ showing step by step process of how one could build them on their own.

### [hexagonal_pathfinding_astar]

```plain
```txt
_______
/ E \
_______/ (4,3) \
Expand Down
2 changes: 1 addition & 1 deletion templates/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% import "includes/post_list.html" as macros %}
<!DOCTYPE html>
<html lang="{% block lang_decl %}{{ config.default_language }}{% endblock lang_decl %}">
<html lang="{{ lang }}">

<head>
<meta charset="utf-8">
Expand Down
2 changes: 0 additions & 2 deletions templates/page.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{% extends "index.html" %}

{% block lang_decl %}{{ lang }}{% endblock lang_decl %}

{% block seo %}
<title>{{ page.title }} | {{ config.title | default(value="Minima") }}</title>

Expand Down
2 changes: 0 additions & 2 deletions templates/post.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{% extends "index.html" %}

{% block lang_decl %}{{ lang }}{% endblock lang_decl %}

{% block seo %}
<title>{{ page.title }} | {{ config.title | default(value="Minima") }}</title>

Expand Down
2 changes: 0 additions & 2 deletions templates/posts.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{% extends "index.html" %}

{% block lang_decl %}{{ lang }}{% endblock lang_decl %}

{% block content %}
<div class="posts wrapper">
<h2 class="post-list-heading">{{ section.title | default(value="Latest News") }}</h2>
Expand Down