File tree 1 file changed +19
-16
lines changed
1 file changed +19
-16
lines changed Original file line number Diff line number Diff line change 14
14
15
15
< div class ="{{ include.type | default: "list " }}__item">
16
16
< article class ="archive__item " itemscope itemtype ="http://schema.org/CreativeWork ">
17
- {% if include.type == "grid" and teaser %}
18
- < div class ="archive__item-teaser ">
19
- < img src =
20
- {% if teaser contains "://" %}
21
- "{{ teaser }}"
22
- {% else %}
23
- "{{ teaser | prepend: "/images/" | prepend: base_path }}"
24
- {% endif %}
25
- alt="">
26
- </ div >
27
- {% endif %}
28
- < h2 class ="archive__item-title " itemprop ="headline ">
29
-
17
+ {% if include.type == "grid" and teaser %}
18
+ < div class ="archive__item-teaser ">
19
+ < img src =
20
+ {% if teaser contains "://" %}
21
+ "{{ teaser }}"
22
+ {% else %}
23
+ "{{ teaser | prepend: "/images/" | prepend: base_path }}"
24
+ {% endif %}
25
+ alt="">
26
+ </ div >
27
+ {% endif %}
28
+ < h3 class ="archive__item-title " itemprop ="headline ">
30
29
{% if post.link %}
31
30
< a href ="{{ post.link }} "> {{ title }}</ a > < a href ="{{ base_path }}{{ post.url }} " rel ="permalink "> < i class ="fa fa-link " aria-hidden ="true " title ="permalink "> </ i > < span class ="sr-only "> Permalink</ span > </ a >
32
31
{% else %}
33
32
< a href ="{{ base_path }}{{ post.url }} " rel ="permalink "> {{ title }}</ a >
34
33
{% endif %}
35
- </ h2 >
36
- {% if post.venue%}< h3 class ="archive__item-excerpt " itemprop ="description "> {{ post.citation }}</ h3 > {% endif %}
37
-
34
+ </ h3 >
35
+ {% if post.read_time %}
36
+ < p class ="page__meta "> < i class ="fa fa-clock-o " aria-hidden ="true "> </ i > {% include read-time.html %}</ p >
37
+ {% endif %}
38
+ {% if post.date %}< p class ="page__meta "> < i class ="fa fa-clock-o " aria-hidden ="true "> </ i > {{ post.date | date: '%B %d, %Y' }}</ p > {% endif %}
39
+ {% if post.venue%}< p class ="archive__item-excerpt " itemprop ="description "> {{ post.citation }}</ p > {% endif %}
40
+
38
41
</ article >
39
42
</ div >
You can’t perform that action at this time.
0 commit comments