-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
95 lines (57 loc) · 1.62 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
---
layout: default
title: Home
---
{% if page.url == "/" %}
<div class="mainheading homecover " style="background-image:url(assets/images/1.jpg);">
<h1 class="sitetitle"><span>UniLecs</span></h1>
<p class="lead"><span>Some fancy text for the cover up image</span></p>
</div>
<!-- Featured
================================================== -->
<section class="featured-posts">
<div class="section-title">
<h2><span>Featured</span></h2>
</div>
<div class="row">
{% for post in site.posts %}
{% if post.type == 'featured' %}
{% include featuredbox.html %}
{% endif %}
{% endfor %}
</div>
</section>
{% endif %}
<!-- Posts Index
================================================== -->
<section class="recent-posts">
<div class="section-title">
<h2><span>Задачи по программированию</span></h2>
</div>
<div class="row listrecent">
{% for post in site.posts %}
{% if post.type == 'task' %}
{% if post.featured %}
{% include postbox.html %}
{% endif %}
{% endif %}
{% endfor %}
</div>
<a href="/tasks">See all</a>
</section>
<br>
<section class="recent-posts">
<div class="section-title">
<h2><span>Головоломки</span></h2>
</div>
<div class="row listrecent">
{% for post in site.posts %}
{% if post.type == 'puzzle' %}
{% if post.featured %}
{% include postbox.html %}
{% endif %}
{% endif %}
{% endfor %}
</div>
<a href="/puzzles">See all</a>
</section>