Merge pull request #850 from phil-opp/zola-update

Update Zola to 0.11.0
This commit is contained in:
Philipp Oppermann
2020-08-19 09:59:25 +02:00
committed by GitHub
3 changed files with 5 additions and 6 deletions

View File

@@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v1
- name: 'Download Zola'
run: curl -sL https://github.com/getzola/zola/releases/download/v0.10.0/zola-v0.10.0-x86_64-unknown-linux-gnu.tar.gz | tar zxv
run: curl -sL https://github.com/getzola/zola/releases/download/v0.11.0/zola-v0.11.0-x86_64-unknown-linux-gnu.tar.gz | tar zxv
- name: "Install Python Tools"
run: python -m pip install --upgrade pip setuptools wheel
- name: 'Install Python Libraries'
@@ -48,7 +48,7 @@ jobs:
- uses: actions/checkout@v1
- name: 'Download Zola'
run: curl -sL https://github.com/getzola/zola/releases/download/v0.10.0/zola-v0.10.0-x86_64-unknown-linux-gnu.tar.gz | tar zxv
run: curl -sL https://github.com/getzola/zola/releases/download/v0.11.0/zola-v0.11.0-x86_64-unknown-linux-gnu.tar.gz | tar zxv
- name: "Run zola check"
run: ../zola check

View File

@@ -4,7 +4,8 @@ description = "This blog series creates a small operating system in the Rust pro
highlight_code = true
highlight_theme = "visual-studio-dark"
generate_rss = true
generate_feed = true
feed_filename = "rss.xml"
languages = [
{ code = "zh-CN" }, # Chinese (simplified)
@@ -25,8 +26,6 @@ skip_prefixes = [
skip_anchor_prefixes = [
"https://github.com/", # see https://github.com/getzola/zola/issues/805
"https://docs.rs/x86_64/0.1.2/src/", # source code highlight
"https://www.math.utah.edu/docs/info/ld_3.html", # see https://github.com/getzola/zola/issues/948
"https://web.stanford.edu/class/cs140/projects/pintos/specs/freevga/vga/vgamem.htm", # see https://github.com/getzola/zola/issues/948
]
[extra]

View File

@@ -6,7 +6,7 @@
<generator>Zola</generator>
<language>{{ config.default_language }}</language>
<atom:link href="{{ feed_url | safe }}" rel="self" type="application/rss+xml"/>
<lastBuildDate>{{ last_build_date | date(format="%a, %d %b %Y %H:%M:%S %z") }}</lastBuildDate>
<lastBuildDate>{{ last_updated | date(format="%a, %d %b %Y %H:%M:%S %z") }}</lastBuildDate>
{% for page in pages %}
<item>
<title>{{ page.title }}</title>