Feat: import work and verify compilation

This commit is contained in:
2020-06-24 08:26:04 +02:00
parent 1ad81faabe
commit 5b475a2f38
1607 changed files with 151664 additions and 1255 deletions

View File

@@ -17,41 +17,49 @@
{% import 'partial/translations.html' as translations with context %}
{{ translations.translations_for(article) }}
{% endif %}
<h1 id="{{ article.slug }}">{{ article.title }}</h1>
<p>
{{ _('Posted on %(when)s in %(category)s',
when=article.locale_date,
category='<a href="%s/%s">%s</a>'|format(SITEURL, article.category.url, article.category)|safe) }}
{% if 'post_stats' in PLUGINS %}
&#8226; {{ article.stats['read_mins'] }} min read
{% endif %}
</p>
<div class="tag-cloud">
<p>
{% if article.tags %}
{% for tag in article.tags %}
<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>
{% endfor %}
{% endif %}
</p>
</div>
{% if 'pelican-page-hierarchy' in PLUGINS%}
{% if article.parent %}
<ul class="breadcrumb">
{% for parent in article.parents %}
<li>
{% if parent.url == "index.html" %}
<a href="{{ SITEURL }}/" title="{{ SITENAME }}">
<i class="fa fa-home fa-lg"></i>
</a>
{% else %}
<a href="{{ SITEURL }}/{{ parent.url }}">{{ parent.title }}</a>
{% endif %}
</li>
{% endfor %}
</ul>
{% endif %}
{% endif %}
<h1 id="{{ article.slug }}">{{ article.title }}</h1>
</header>
<div>
<div class="content">
{{ article.content }}
</div>
{% include "partial/files_internal_navigation.html" %}
{% if ADD_THIS_ID %}
<div class="center social-share">
<p>{{ _('Like this article? Share it with your friends!') }}</p>
<div class="addthis_native_toolbox"></div>
<div class="addthis_sharing_toolbox"></div>
<div class="addthis_inline_share_toolbox"></div>
<div class="about">
{{ _('Posted on %(when)s (modified on %(mod)s) in %(category)s',
when=article.locale_date,
mod=article.locale_modified,
category='<a href="%s/%s">%s</a>'|format(SITEURL, article.category.url, article.category)|safe) }}
</div>
<div class="tag-cloud">
<p>
{% if 'post_stats' in PLUGINS %}
&#8226; {{ article.stats['read_mins'] }} min read
{% endif %}
{% if article.tags %}
{% for tag in article.tags %}
<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>
{% endfor %}
{% endif %}
</p>
</div>
{% endif %}
{% include "partial/neighbors.html" %}
@@ -64,10 +72,7 @@
{% endfor %}
</ul>
</div>
{% elif ADD_THIS_ID %}
<div class="addthis_relatedposts_inline"></div>
{% endif %}
{% include "partial/disqus.html" %}
</article>
{% endblock %}