-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcalvert.html
59 lines (47 loc) · 2 KB
/
calvert.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
56
57
58
---
layout: default
bodyclass: cases
---
{%- if site.posts.size > 0 -%}
<main>
<section class="wrapper">
<ul class="article-list index-block">
{% for post in paginator.posts %}
<li>
<article class="grid-item post">
<!-- if blogpost -->
<p class="info-author"><span>Posted by <a href="#">{{ post.author }}</a></span></p>
<!-- endif -->
<h3><a href="{{ post.url | relative_url }}">{{ post.title | escape }}</a></h3>
{%- if site.blogIndexSubtitles == true -%}
<p style="margin-bottom:0.5em;">{{ post.subtitle | truncatewords: 42 }}</p>
{%- endif -%}
<!-- if blogpost -->
<p class="info-others">
<span id="postPubDate">{{ post.date | date: "%d/%m/%Y" }}</span>
<span id="postCategories">
{%- if post.category -%}
In
{%- for category in post.category -%}
<a href="#" rel="category tag">{{ category }}</a>
{%- unless forloop.last -%}, {% endunless -%}
{%- endfor -%}
{%- endif -%}
</span>
<span id="postComments"><i>(comments disabled)</i></span>
</p>
<!-- endif -->
<!-- if page.indeximage -->
<div class="post-image-wrap">
<div style="background: url({{- post.featured_image -}}) center center no-repeat;background-size: cover;" class="post-image"></div>
</div>
<!-- endif -->
</article>
</li>
{%- endfor -%}
</ul>
</section>
<!-- index pagination -->
{% include 2023/paginator-nextprev.html %}
</main>
{%- endif -%}