Converted old blog entries

This commit is contained in:
Felipe M 2016-12-16 00:38:04 +01:00
parent edb5816892
commit 7aecdaf367
83 changed files with 2445 additions and 36 deletions

View file

@ -1 +1,3 @@
{% extends "_base.html" %}
{% block page_title %}{{ super() }} | Blog{% endblock %}

View file

@ -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 %}