Skip to content

Commit 4b14bc8

Browse files
authored
rollback to original from staeiou.github.io
1 parent ccdc189 commit 4b14bc8

File tree

1 file changed

+19
-16
lines changed

1 file changed

+19
-16
lines changed

_includes/archive-single-cv.html

+19-16
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,29 @@
1414

1515
<div class="{{ include.type | default: "list" }}__item">
1616
<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">
3029
{% if post.link %}
3130
<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>
3231
{% else %}
3332
<a href="{{ base_path }}{{ post.url }}" rel="permalink">{{ title }}</a>
3433
{% 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+
3841
</article>
3942
</div>

0 commit comments

Comments
 (0)