-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
79 lines (76 loc) · 3.37 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
{#
Nunjucks Templating!
Homepage: https://mozilla.github.io/nunjucks/
Docs: https://mozilla.github.io/nunjucks/api.html
#}
{% extends 'layouts/application.html' %}
{% block content %}
<div class="container">
<div class="row">
<div class="main">
<div class="hot-themes">
<h2 class="hot-themes__title">{{ hot_themes.title }}</h2>
<ul class="hot-themes__list">
{% for item in hot_themes_list %}
<li class="hot-themes__item"><a href="{{ item.link }}">{{ item.title }}</a></li>
{% endfor %}
</ul>
</div>
{% include "blocks/intro.html" %}
<section class="main-news">
<header class="main-news__header">
<h2 class="main-news__title">{{main_news.title}}</h2>
</header>
<ul class="media-list">
{% for item in main_news_list %}{% include "blocks/media-list.html" %}{% endfor %}
</ul>
</section>
<div class="row">
<div class="news-col">
<section class="news">
<header class="news__header">
<h2 class="news__title">{{last_news.title}}</h2>
</header>
<ul class="media-list">
{% for item in last_news_list %}{% include "blocks/media-list.html" %}{% endfor %}
</ul>
</section>
<section class="news newsfeed">
<header class="news__header">
<h2 class="news__title">{{newsfeed.title}}</h2>
</header>
<ul class="media-list">
{% for item in newsfeed_list %}{% include "blocks/media-list.html" %}{% endfor %}
</ul>
</section>
</div>
<section class="big-photo">
<ul class="media-list">
{% for item in big_photo_list %}{% include "blocks/media-list.html" %}{% endfor %}
</ul>
</section>
</div>
</div>
<section class="sidebar">
<section class="video">
<header class="video__header">
<h2 class="video__title">{{ video.title }}</h2>
</header>
<ul class="media-list">
{% for item in video_list %}{% include "blocks/media-list.html" %}{% endfor %}
</ul>
<a href="{{ video.link_more }}" class="video__link-more">{{video.link_more_text}}</a>
</section>
<section class="interest-articles">
<header class="interest-articles__header">
<h2 class="interest-articles__title">{{interest_articles.title}}</h2>
</header>
<ul class="media-list">
{% for item in interest_articles_list %}{% include "blocks/media-list.html" %}{% endfor %}
</ul>
</section>
</section>
</div>
{% include "blocks/overview.html" %}
</div>
{% endblock %}