Repository navigation
Expand file tree
/
Copy pathblog.html
More file actions
63 lines (49 loc) · 1.73 KB
/
Copy pathblog.html
File metadata and controls
63 lines (49 loc) · 1.73 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
---
layout: default
title: SRI Blog
usemathjax: true
permalink: /blog/index.html
---
<article class="page blog-index">
<header class="page-header container">
</header>
<div class="page-content container">
<div class="row">
<div class="column">
<ul class="blog-list">
{% assign blogposts = site.blogposts | sort: 'date' %}
{%- for blogpost in blogposts reversed -%}
{%- if blogpost.draft != true -%}
<li>
<div class="blog-list-box">
{% if blogpost.thumbnail %}
<div class="blog-list-thumbnail">
<a href="{{ blogpost.url | relative_url}}">
{% assign blog_image = blogpost.thumbnail | prepend: '/assets/blog/' %}
{% include image.html src=blog_image class="blog-list-thumbnailimg" alt=blogpost.title sizes="(max-width: 1024px) 80vw, 300px" %}
</a>
</div>
{% endif %}
<div class="blog-list-content">
<div class="blog-list-title">
<a href="{{ blogpost.url | relative_url}}">{{blogpost.title}}</a>
</div>
<div class="blog-list-authors">
{% include get-linked-persons.html persons=blogpost.blogpost-authors %}
</div>
<p class="blog-list-tldr">
{{blogpost.tldr}}
</p>
</div>
<div class="blog-list-tria">
<img src="{{ '/assets/icons/icon-blogpost-tria.svg' | relative_url}}" class="blog-list-triaimg"/>
</div>
</div>
</li>
{%- endif -%}
{%- endfor -%}
</ul>
</div>
</div>
</div>
</article>