-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
43 lines (41 loc) · 1.98 KB
/
index.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
---
layout: base
title: Code More
description: Code More - сайт о программировании
---
<div class="container">
<div class="content-container index-container">
<div>
{% include navigation.html %}
</div>
<ul id="code-more-articles" class="list-group list-group-flush">
{% for post in site.posts %}
<li class="list-group-item list-group-item-action pt-3 pb-3">
<div>
<a href="{{ post.url }}" class="section-catalog">{{ post.title }}</a>
</div>
<div class="text-secondary small">
{{ post.date | date: '%d.%m.%Y' }}
{% if post.author %}
- {{ post.author }}
{% endif %}
{% if post.section %}
-
{% if post.section == "experimental" %}
<span class="section-experimental">Эксперименты</span>
{% elsif post.section == "mathematiques" or post.section == 'mathematiques-tasks' %}
<span class="section-mathematiques">Международный Чемпионат Математических и Логических Игр</span>
{% elsif post.section == "mc" %}
<span class="section-programming">Микроконтроллеры</span>
{% elsif post.section == "programming" %}
<span class="section-programming">Программирование - {{ post.language }}</span>
{% elsif post.section == "pskov" %}
<span class="section-pskov">Олимпиадное программирование в Псков ГУ</span>
{% endif %}
{% endif %}
</div>
</li>
{% endfor %}
</ul>
</div>
</div>