summaryrefslogtreecommitdiff
path: root/app/posts/templates/photo_essay_detail.html
blob: 0655f40caa25f988292cd338049af883e59aac54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{% extends 'base.html' %}
{%block htmlclass%}class="detail single"{% endblock %}
{% load typogrify_tags %}
{% load html5_datetime %}
{% load pagination_tags %}
{% block pagetitle %} Photos | luxagraf {% endblock %}
{% block metadescription %} Recent Images {% endblock %}
{%block bodyid%}class="photos" id="notes-archive"{%endblock%}
{% block breadcrumbs %}{% include "lib/breadcrumbs.html" with breadcrumbs=breadcrumbs %}{% endblock %}			
{% block primary %}
    <main role="main">
        <figure class="large-top-image">{%with object=object_list%}
            <a href="{{object.get_absolute_url}}" title="{{object.title}}">{%with image=object.featured_image%}
                <img style="margin:0;" sizes="(max-width: 960px) 100vw"
                srcset="{{image.get_srcset}}"
                src="{{image.get_src}}"
                alt="{{image.alt}} photographed by {% if image.photo_credit_source %}{{image.photo_credit_source}}{%else%}luxagraf{%endif%}">
             </a>
        </figure>{%endwith%}
        <div class="folio-wrapper">
        <article class="h-entry hentry" itemscope itemType="http://schema.org/BlogPosting">
            <header id="header" class="post-header">
                <h1 class="p-name post-title" itemprop="headline">{{object.title|smartypants|safe}}</h1>
                <div class="post-dateline">
                    <time class="hide dt-published published dt-updated post-date lttr-box" datetime="{{object.pub_date|date:'c'}}" itemprop="datePublished"><span>{{object.pub_date|date:"F j, Y"}}</span></time>
                <span class="hide" itemprop="author" itemscope itemtype="http://schema.org/Person">by <a class="p-author h-card" href="/about"><span itemprop="name">Scott Gilbertson</span></a></span>
                </div>
            </header>
        <div id="article" class="e-content entry-content post-body" itemprop="articleBody">
            {{object.body_html|safe|smartypants}}
        </div>
        </div>
    </main>{%endwith%}
{% endblock%}