style, templating, why copyleft, reads draft
This commit is contained in:
parent
bfa1c3f812
commit
2b0484528b
10 changed files with 224 additions and 19 deletions
|
|
@ -1,20 +1,19 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}{{section.title}} – {{ config.extra.sitename|safe }}{% endblock title %}
|
||||
{% block title %}{{section.title|safe}} – {{ config.extra.sitename|safe }}{% endblock title %}
|
||||
|
||||
{% block head %}
|
||||
{% if section.extra.katex %}{{macros::katex()}}{% endif %}
|
||||
{% endblock head %}
|
||||
|
||||
{% block body %}
|
||||
<span id="breadcrumb">
|
||||
<nav id="breadcrumb">
|
||||
{% for a in section.ancestors %}
|
||||
{% set s = get_section(path=a) %}
|
||||
<a href="{{s.permalink|safe}}">{{s.title}}</a>
|
||||
<a href="{{s.permalink|safe}}">{{s.title|safe}}</a>
|
||||
{% if not loop.last %}>{% endif %}
|
||||
{% endfor %}
|
||||
</span>
|
||||
<br/>
|
||||
</nav>
|
||||
<span id="langs">
|
||||
{{lang}} –
|
||||
|
||||
|
|
@ -34,7 +33,7 @@
|
|||
<section class="article-list">
|
||||
{% for page in section.pages %}
|
||||
<article>
|
||||
<h2 class="article-list_title"><a href="{{page.permalink|safe}}">{{page.title}}</a></h2>
|
||||
<h2 class="article-list_title"><a href="{{page.permalink|safe}}">{{page.title|safe}}</a></h2>
|
||||
<small>{{page.date}}</small>
|
||||
<p>{{page.description|safe}}</p>
|
||||
</article>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue