File size: 1,138 Bytes
2409829
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{% extends "base.html" %}

{%- block head -%}{%- set page = page | default(value = section) -%}
{%- set title = page.title -%}
{%- set meta_title = "Graphite Blog" -%}
{%- set css = ["/page/blog.css"] -%}
{%- endblock head -%}

{%- block content -%}{%- set page = page | default(value = section) -%}
{{ page.content | safe }}

<section id="articles" class="block">
	{% for page in page.pages %}
	<section>
		<div class="banner">
			<a href="{{ page.path | safe }}"><img src="{{ page.extra.banner | safe }}" onerror="this.onerror = null; this.src = this.src.replace('.avif', '.png')" /></a>
		</div>
		<div class="details">
			<div class="headline">
				<h2><a href="{{ page.path | safe }}">{{ page.title }}</a></h2>
			</div>
			<span class="publication">By {{ page.extra.author }}. {{ page.date | date(format = "%B %d, %Y", timezone = "America/Los_Angeles") }}.</span>
			<div class="summary">
				<p>{{ page.summary | striptags | safe }}</p>
			</div>
			<div class="keep-reading">
				<a href="{{ page.path | safe }}" class="link arrow">Keep Reading</a>
			</div>
		</div>
	</section>
	{% endfor %}
</section>
{%- endblock content -%}