-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
90 lines (80 loc) · 3.25 KB
/
Copy pathindex.html
File metadata and controls
90 lines (80 loc) · 3.25 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
---
layout: pageminimal
title: Homepage
description: "Homepage"
---
<div class="row">
<article class="post col-md-10 col-md-offset-1">
<header class="post-header">
<h2 class="post-body lighter bordered-bottom">
<span class="icon-quote-left"></span>
<i> How can we use new forms of interactive content to remove the barrier between creation and consumption of high-integrity, valuable journalism? </i>
<span class="icon-quote-right"></span>
</h2>
</header>
</article>
</div>
<div class="row">
<article class="post post col-md-12">
<div class="post-body bordered-bottom">
{% youtube FQyIAi6FSEc %}
</div>
</article>
</div>
<div class="row">
<div class="col-md-12">
<div id="landingPage-grid">
{% for post in site.posts %}
{% assign ert = post.content | strip_html | number_of_words | divided_by:180 %}
{% assign ertremainder = post.content | strip_html | number_of_words | modulo:180 %}
{% if ertremainder >= 90 %}
{% assign readtime = ert | plus:1 %}
{% else %}
{% assign readtime = ert %}
{% endif %}
{% assign modifiedtime = post.modified | date: "%Y%m%d" %}
{% assign posttime = post.date | date: "%Y%m%d" %}
<a href="{{ site.url }}{{ post.url }}">
<div class="col-xs-12 col-md-4 pageGrid" >
{% if post.image.feature %}
{% image default "{{ post.image.feature }}" %}
{% endif %}
<article><i class=""></i> {{ post.title }}</article>
<div class="post-info small">
{% if site.readtime %}
<span class="post-tags"><i class="icon-time"></i> {% if readtime == 1 %}1 minute read{% endif %}{% if readtime > 1 %}{{ readtime }} minutes read{% endif %}{% if readtime == 0 %}Less than 1 minute read{% endif %}</span>
{% endif %}
</div>
</div>
</a>
{% endfor %}
</div>
</div>
</div>
<!--
<div class="row">
<div class="col-md-12">
<div id="landingPage-list">
<ul class="post-list">
{% for post in site.posts %}
{% assign ert = post.content | strip_html | number_of_words | divided_by:180 %}
{% assign ertremainder = post.content | strip_html | number_of_words | modulo:180 %}
{% if ertremainder >= 90 %}
{% assign readtime = ert | plus:1 %}
{% else %}
{% assign readtime = ert %}
{% endif %}
{% assign modifiedtime = post.modified | date: "%Y%m%d" %}
{% assign posttime = post.date | date: "%Y%m%d" %}
<li><article><i class=""></i> <a href="{{ site.url }}{{ post.url }}">{{ post.title }} <span class="entry-date"><time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%B %d, %Y" }}</time></span></a></article></li>
<div class="post-info small">
{% if site.readtime %}
<span class="post-tags"><i class="icon-time"></i> {% if readtime == 1 %}1 minute read{% endif %}{% if readtime > 1 %}{{ readtime }} minutes read{% endif %}{% if readtime == 0 %}Less than 1 minute read{% endif %}</span>
{% endif %}
</div>
{% endfor %}
</ul>
</div>
</div>
</div>
-->