-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtalks.html
68 lines (61 loc) · 1.85 KB
/
talks.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
59
60
61
62
63
64
65
66
---
title: Talks
permalink: talks.html
description: >
I have had the opportunity to give talks at a few conferences, mainly about
<strong>Python</strong>, <strong>Django</strong> and general software development.
photos:
- src: djangocong-2018.jpg
alt: Djangocong, Lille, 2018
author: providenz
- src: djangocong-2015.jpg
alt: Djangocong, Clermont-Ferrand, 2015
author: couac
- src: sudweb-2011.jpg
alt: Sudweb, Nîmes, 2011
author: n1k0
twitter:
image: assets/images/talks/djangocong-2018.jpg
---
{% assign twitter = "<a href='https://x.com/nickname'>@nickname</a>" %}
{% assign talks_by_year = site.talks
| group_by_exp: "talk", "talk.date
| date: '%Y'"
| reverse
%}
<section>
<h2>Talks</h2>
<p class=lead>{{ page.description | strip }}
{%- for year in talks_by_year %}
<h3>{{ year.name }}</h3>
{%- for talk in year.items %}
<article>
<h4>
{{ talk.title }}
{%- if talk.original_title %}
<span>
Original title: <em lang="{{ talk.lang }}">
{{- talk.original_title -}}
</em>
</span>
{%- endif %}
</h4>
<p>Talk given on <time datetime="{{ talk.date | date: '%Y-%m-%d' }}">
{{- talk.date | date: "%a, %b %d" -}}
</time> at {{ talk.conference }}, {{ talk.place }}.
{{ talk.excerpt | replace: "</p>", "" | strip }}
</article>
{%- endfor %}
{%- endfor %}
</section>
<aside>
{%- for photo in page.photos %}
{%- assign image_path = "assets/images/talks/" | append: photo['src'] %}
<figure>
<a data-fslightbox href="{{ image_path }}">
<img src="{{ image_path }}" alt="{{ photo['alt'] }}">
</a>
<figcaption>{{ photo['alt'] }} • Credits {{ twitter | replace: 'nickname', photo['author'] }}</figcaption>
</figure>
{%- endfor %}
</aside>