2015-05-23 10:16:38 +00:00
|
|
|
{% extends "djangocms_blog/base.html" %}
|
|
|
|
{% load i18n thumbnail cms_tags %}
|
|
|
|
{% load url from future %}
|
|
|
|
|
|
|
|
{% block meta_description %}{{ post.meta_description }}{% endblock meta_description %}
|
|
|
|
{% block meta_keywords %}{{ post.meta_keywords }}{% endblock meta_keywords %}
|
|
|
|
{% block canonical_url %}<link rel="canonical" href="{{ SITE.domain }}{{ view.get_view_url }}"/>{% endblock canonical_url %}
|
2015-06-16 06:25:21 +00:00
|
|
|
{% block title %}{% page_attribute "page_title" %} - {{ post.get_title }}{% endblock %}
|
2015-05-23 10:16:38 +00:00
|
|
|
<!-- page header -->
|
|
|
|
{% block base_header %}
|
|
|
|
{% include "djangocms_blog/_header_post_detail.html" %}
|
|
|
|
{% endblock %}
|
|
|
|
<!-- page header -->
|
|
|
|
{% block content_blog %}
|
|
|
|
<article>
|
|
|
|
{% if use_placeholder %}
|
|
|
|
<div class="blog-content">{% render_placeholder post.content %}</div>
|
|
|
|
{% else %}
|
|
|
|
<div class="blog-content">{% render_model post "post_text" "post_text" %}</div>
|
|
|
|
{% endif %}
|
|
|
|
</article>
|
|
|
|
{% endblock content_blog %}
|