Converted old blog entries
This commit is contained in:
parent
edb5816892
commit
7aecdaf367
83 changed files with 2445 additions and 36 deletions
|
@ -1 +1,3 @@
|
|||
{% extends "_base.html" %}
|
||||
|
||||
{% block page_title %}{{ super() }} | Blog{% endblock %}
|
||||
|
|
|
@ -1,8 +1,17 @@
|
|||
{% extends "blog/_base.html" %}
|
||||
{% from "macros/blog.html" import render_blog_post %}
|
||||
|
||||
{% block body_class %}blog post{% endblock %}
|
||||
|
||||
{% block page_title %}{{ super() }} | {{ this.title }}{% endblock %}
|
||||
|
||||
{% block main_content %}
|
||||
{{ render_blog_post(this) }}
|
||||
{% if this.comments_enabled %}
|
||||
<div class="center comments">{{ render_disqus_comments() }}</div>
|
||||
{% else %}
|
||||
<div class="center info">
|
||||
Comments have been disabled in this post, if you want to contact me please <a href="{{ '/contact'|url }}">go ahead</a>!
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block body_class %}blog post{% endblock %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue