-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update theme for zola 0.17.1 (#10)
- Loading branch information
Showing
5 changed files
with
63 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{% extends "index.html" %} | ||
|
||
{% block content %} | ||
<div> | ||
<center> | ||
<h1>{{ terms | length }} Categories</h1> | ||
<p>{% for term in terms -%}[<a href="#{{ term.name }}">{{ term.name }}</a>] {%- endfor %}</p> | ||
</center> | ||
{% for term in terms -%} | ||
<h2 id="{{ term.name }}"><a href="{{ term.permalink | safe }}">{{ term.name }}</a></h2> | ||
{% for page in term.pages -%} | ||
<p><a href="{{ page.permalink | safe }}">{{ page.title }}</a> - <time datetime="{{ page.date }}">{{ page.date | date(format=config.extra.timeformat | default(value="%B %e, %Y")) }}</time></p> | ||
{% endfor -%} | ||
{% endfor -%} | ||
</div> | ||
{% endblock content %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{% extends "index.html" %} | ||
|
||
{% block content %} | ||
<div> | ||
<h2>{{ term.name }}</h2> | ||
{% for year, posts in term.pages | group_by(attribute="year") %} | ||
<h3>{{ year }}</h3> | ||
{% for page in posts %} | ||
<p><a href="{{ page.permalink | safe }}">{{ page.title }}</a> - <time datetime="{{ page.date }}">{{ page.date | date(format=config.extra.timeformat | default(value="%B %e, %Y")) }}</time></p> | ||
{% endfor %} | ||
{% endfor %} | ||
</div> | ||
{% endblock content %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{% extends "index.html" %} | ||
|
||
{% block content %} | ||
<div> | ||
<center> | ||
<h1>{{ terms | length }} Tags</h1> | ||
<p>{% for term in terms -%}#<a href="#{{ term.name }}">{{ term.name }}</a> {%- endfor %}</p> | ||
</center> | ||
{% for term in terms -%} | ||
<h2 id="{{ term.name }}">#<a href="{{ term.permalink | safe }}">{{ term.name }}</a></h2> | ||
{% for page in term.pages -%} | ||
<p><a href="{{ page.permalink | safe }}">{{ page.title }}</a> - <time datetime="{{ page.date }}">{{ page.date | date(format=config.extra.timeformat | default(value="%B %e, %Y")) }}</time></p> | ||
{% endfor -%} | ||
{% endfor -%} | ||
</div> | ||
{% endblock content %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{% extends "index.html" %} | ||
|
||
{% block content %} | ||
<div> | ||
<h2>{{ term.name }}</h2> | ||
{% for year, posts in term.pages | group_by(attribute="year") %} | ||
<h3>{{ year }}</h3> | ||
{% for page in term.pages %} | ||
<p><a href="{{ page.permalink | safe }}">{{ page.title }}</a> - <time datetime="{{ page.date }}">{{ page.date | date(format=config.extra.timeformat | default(value="%B %e, %Y")) }}</time></p> | ||
{% endfor %} | ||
{% endfor %} | ||
</div> | ||
{% endblock content %} |