-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
38 lines (38 loc) · 1.4 KB
/
index.html
File metadata and controls
38 lines (38 loc) · 1.4 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
---
layout: "landing.html"
title: "Accueil"
eleventyImport:
collections: ["latestFewFinishedArticles"]
---
<header><h1>{{title}}</h1></header>
<section>
<h2>Articles</h2>
<p>Ici, j'écris autant que je peux sur des sujets variés (en général techniques)</p>
<ul>
{% for blog in collections.latestFewFinishedArticles %}
<li style="
display: flex;
border-bottom: darkgray dotted 1px;
justify-content: space-between;
padding: .2rem;">
<a href="{{blog.url}}" style="text-decoration: none; flex-grow:1;">{{ blog.data.title }}</a>
<time datetime="{{blog.data.date}}" style="font-family: monospace">
{{ blog.data.date | toLocaleStringFrShort }}
</time>
</li>
{% endfor %}
</ul>
<p><a href="/blog">Plus d'articles</a> | <a href="/making-of">Making-of de ce site</a></p>
</section>
<aside>
<h2>Actualités</h2>
<ul>
{% for actualite in actualites.events limit:3 %}
<li>
<time datetime="{{actualite.start | toIsoString}}" >{{actualite.start | toLocaleStringFr | capitalize}} à {{actualite.start | toLocaleTimeStringFr }}</time> : <a href="{{actualite.url}}">{{actualite.title}}</a>.
{{actualite.description}}
</li>
{% endfor %}
</ul>
<p><a href="/actualites.ics">Ajoutez à votre calendrier</a></p>
</aside>