aboutsummaryrefslogtreecommitdiff
path: root/templates/index.html
blob: 5c11ab383414ea88a46f79a597c3231050b8c486 (plain) (blame)
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
{% extends "base.html" %}

{%- block content -%}
<section id="blog" class="times">

{% if section.content %}
<section id="introduction">
  {{ section.content | safe }}
</section>
{% endif %}

<h2>articles ⇢</h2>
{%- set blog = get_section(path="blog/_index.md") -%}
{%- set post_count = blog.pages | length -%}
{%- for post in blog.pages %}
<article>
    <h3><a href="{{- post.path|safe -}}">{{- post.title -}}</a></h3>
    <time datetime="{{ post.date | date(format="%+")}}">{{ post.date | date(format="%B %m, %Y")}}</time>
</article>
{%- endfor %}

<h2>notes ⇢</h2>
{%- set notes = get_section(path="notes/_index.md") -%}
{%- set post_count = notes.pages | length -%}
{%- for post in notes.pages %}
<article>
    <h3><a href="{{- post.path|safe -}}">{{- post.title -}}</a></h3>
    <time datetime="{{ post.date | date(format="%+")}}">{{ post.date | date(format="%B %m, %Y")}}</time>
</article>
{%- endfor %}

<h2>contact</h2>

Email: <a href="mailto:franck@fcuny.net">franck@fcuny.net</a>

</section>

{%- endblock content -%}