Skip to content

Commit 2a73342

Browse files
committed
Update to Zola 0.12.2
1 parent 2b05bb8 commit 2a73342

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/build-site.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- uses: actions/checkout@v2
2121

2222
- name: 'Download Zola'
23-
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
23+
run: curl -sL https://github.com/getzola/zola/releases/download/v0.12.2/zola-v0.12.2-x86_64-unknown-linux-gnu.tar.gz | tar zxv
2424

2525
- name: "Build Site"
2626
run: ./zola build
@@ -39,7 +39,7 @@ jobs:
3939
- uses: actions/checkout@v2
4040

4141
- name: 'Download Zola'
42-
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
42+
run: curl -sL https://github.com/getzola/zola/releases/download/v0.12.2/zola-v0.12.2-x86_64-unknown-linux-gnu.tar.gz | tar zxv
4343

4444
- name: "Run zola check"
4545
run: ./zola check

templates/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ <h2>This Month in Rust OSDev</h2>
1111
<p>{{ section.description }}</p>
1212
<ul>
1313
{% for page in section.pages %}
14-
<li><a href="/{{ page.path | safe }}">{{ page.extra.month }}</a></li>
14+
<li><a href="{{ page.path | safe }}">{{ page.extra.month }}</a></li>
1515
{% endfor %}
1616
</ul>
1717

templates/page.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ <h1>{{ page.title }}</h1>
2626
<hr>
2727
<div class="PageNavigation">
2828
{% if page.earlier %}
29-
<a class="prev" href="/{{ page.earlier.path | safe }}">&laquo; {{ page.earlier.title }}</a>
29+
<a class="prev" href="{{ page.earlier.path | safe }}">&laquo; {{ page.earlier.title }}</a>
3030
{% endif %}
3131
{% if page.later %}
32-
<a class="next" href="/{{ page.later.path | safe }}">{{ page.later.title }} &raquo;</a>
32+
<a class="next" href="{{ page.later.path | safe }}">{{ page.later.title }} &raquo;</a>
3333
{% endif %}
3434
</div>
3535
{% endblock after_main %}

templates/section.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ <h1>{{ section.title }}</h1>
1212

1313
<div class="posts">
1414
{% for page in section.pages %}
15-
<h2 class="post-title"><a href="/{{ page.path | safe }}">{{ page.title }}</a></h2>
15+
<h2 class="post-title"><a href="{{ page.path | safe }}">{{ page.title }}</a></h2>
1616
<div class="post-summary">
1717
{{ page.summary | safe }}
18-
<a class="read-more" href="/{{ page.path | safe }}"><em>read&nbsp;more&nbsp;»</em></a>
18+
<a class="read-more" href="{{ page.path | safe }}"><em>read&nbsp;more&nbsp;»</em></a>
1919
</div>
2020
{% endfor %}
2121
</div>

0 commit comments

Comments
 (0)