-
Notifications
You must be signed in to change notification settings - Fork 0
/
vignettes.html
55 lines (47 loc) · 1.83 KB
/
vignettes.html
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{% extends "subtemplates/_riots-base.html" %}
{% block title %}<title>{{ vignettes_headline }} -- Chicago Tribune</title>{% endblock title %}
{% block library_scripts %}
{# <script src="//{{ ROOT_URL }}/js/vendor.min.js" type="text/javascript"></script> #}
{% endblock %}
{% block stylesheets %}
{{ super() }}
<link rel="stylesheet" type="text/css" href="css/vignettes.css">
{% endblock stylesheets %}
{% block content %}
{# <div class="advert" data-ad-type="leaderboard"></div> #}
<article>
{% include 'subtemplates/vignettes/_header.html' %}
<div class='vignettes-container'>
<nav class='vignettes-nav'>
{% include 'subtemplates/vignettes/_vignettes-nav.html' %}
</nav>
<div class='vignettes-column'>
<section id='content' class='content container'>
<div class='river river--first'>
{{ stories['vignettes_intro'][0]['text']|markdown }}
</div>
{% for vignette in stories['vignettes']|sort_vignettes("display_order") if vignette.id %}
{% set v = vignette %}
{% set idx = loop.index %}
{% if vignette.text and vignette.deck %}
{% include 'subtemplates/vignettes/_vignette.html' %}
{% elif vignette.subhed %}
{% include 'subtemplates/vignettes/_vignette-subhed.html' %}
{% else %}
{% include 'subtemplates/vignettes/_vignette-quote-only.html' %}
{% endif %}
{% if idx == 3 %}
{% include 'subtemplates/_mainbar-teaser.html' %}
{% endif %}
{% endfor %}
</section>
</div>
</div>
</article>
{% endblock content %}
{% block scripts %}
{{ super() }}
<script src="//{{ ROOT_URL }}/js/vignettes.min.js" type="text/javascript"></script>
{% endblock %}
{% block chartbeat_page_title %}{{ super() }} -- Vignettes{% endblock chartbeat_page_title %}
{% block omniture_page_name %}{{ super() }}--vignettes{% endblock omniture_page_name %}