You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.7 KiB
40 lines
1.7 KiB
{% extends "blog/base.html" %}
|
|
{% load i18n thumbnail cms_tags menu_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 %}
|
|
|
|
{% block breadcrumb %}
|
|
<ul class="list-unstyled list-inline breadcrumb">
|
|
{% show_breadcrumb 0 "aldryn_people/includes/breadcrumb.html" 0 %}
|
|
</ul>
|
|
{% endblock breadcrumb %}
|
|
|
|
{% block content_blog %}{% spaceless %}
|
|
<article id="post-{{ post.slug }}" class="post-item post-detail">
|
|
<content>
|
|
<header>
|
|
<h1>{% render_model post "title" %}</h1>
|
|
<p class="date">{{ post.date_published|date:"DATE_FORMAT" }}</p>
|
|
</header>
|
|
{% if post.main_image_id %}
|
|
<div class="blog-visual">
|
|
{% thumbnail post.main_image post.full_image_options.size crop=post.full_image_options.crop upscale=post.full_image_options.upscale subject_location=post.main_image.subject_location quality=100 as thumb %}
|
|
<img src="{{ thumb.url }}" alt="{{ post.main_image.default_alt_text }}" width="{{ thumb.width }}" height="{{ thumb.height }}" />
|
|
</div>
|
|
{% endif %}
|
|
{% endspaceless %}
|
|
|
|
<div class="blog-content">{% render_model post "abstract" %}</div>
|
|
</content>
|
|
<side>
|
|
<author>
|
|
{% include "aldryn_people/includes/people_items_element.html" with person=post.author %}
|
|
</author>
|
|
</side>
|
|
</article>
|
|
|
|
{% endblock content_blog %}
|
|
|