rscnt
280e30ad15
An override of the djangocms_blog templates. Signed-off-by: rscnt <rascnt@gmail.com>
22 lines
867 B
HTML
22 lines
867 B
HTML
{% 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 %}
|
|
{% block title %}{{ post.get_title }}{% endblock %}
|
|
<!-- 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 %}
|