forked from pirati-web/pirati.cz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
118 lines (112 loc) · 4.82 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
---
layout: default
rbar: cal, people, video
boxes:
left-top:
text: Regiony
url: regiony
icon: fa fa-map-signs
right-top:
text: Naši lidé
url: lide
icon: fa fa-users
left-bottom:
text: Sněmovna
url: snemovna
icon: fa fa-user
right-bottom:
text: Dary
url: https://dary.pirati.cz
icon: fa fa-gift
keywords: Piráti kandidáti evropský parlament, Piráti volby, Piráti kampaň evropa, Piráti eurovolby, Piráti balíčky, Piráti bannery, Piráti autobusPiráti autobus,
---
{% include homepage/banner.html
link=''
title='Držíme kurz!'
default='header/drzime-kurz.png'
mobile='header/drzime-kurz.png'
breakpoint=640
%}
<div class="c-banner">
<div class="row">
<div class="c-banner-container small-12 columns">
<div class="o-section">
<div class="o-section-inner o-section-inner--noLarge u-cf">
<div class="c-banner-section c-banner-primary-section">
{% include homepage/gif-box.html
foto="/assets/img/header/piratipracuji.gif"
alt="Pirati pracují"
url="https://piratipracuji.cz"
%}
</div>
<div class="c-banner-section c-banner-secondary-section">
{% include homepage/four-buttoms.html boxes=page.boxes %}
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="medium-12 large-8 columns">
<section class="o-section o-section--spaceBot">
<div class="o-section-inner o-section-inner--leftBlock">
<header class="o-section-header">
<h1 class="o-section__heading">Aktuální témata</h1>
</header>
{% for article in site.posts limit: 6 %}
<article itemtype="http://schema.org/BlogPosting" class="c-BlogPosting-excerpt" itemscope="">
<link itemprop="mainEntityOfPage" href="http://insertshownpagelinkhere.com">
<div class="c-BlogPosting-excerpt-contentWrapper u-cf">
<div class="c-BlogPosting-excerpt-photoBox">
<!-- BlogPosting image -->
<div itemprop="image" itemtype="http://schema.org/ImageObject" class="c-BlogPosting-excerpt__image" itemscope="">
<a href="{{article.url | relative_url}}">
<img src="{{ article.image | relative_url }}" alt="{{article.title}}">
</a>
<meta itemprop="url" content="{{ article.image | relative_url }}">
<meta itemprop="width" content="">
<meta itemprop="height" content=""> </div>
</div>
<div class="c-BlogPosting-excerpt-contentBox">
<!-- Headline -->
<h2 itemprop="headline" class="c-BlogPosting-excerpt__title">
<a href="{{article.url | relative_url}}" itemprop="url">{{article.title}}</a>
</h2>
<!-- BlogPosting description-->
<div itemprop="description" class="c-BlogPosting-excerpt-content">{{ article.excerpt | truncatewords: 33 | strip_html }} </div>
<a href="{{article.url | relative_url }}" class="c-BlogPosting-excerpt-readMore">Přečíst celý článek ›</a>
</div>
<!-- Publisher -->
<div itemprop="publisher" itemtype="http://schema.org/Organization" class="u-hidden" itemscope="">
<div itemprop="logo" itemtype="http://schema.org/ImageObject" itemscope="">
<meta itemprop="url" content="{{ 'assets/img/brand/logo.svg' | relative_url }}"> </div>
<meta itemprop="name" content="Česká pirátská strana"> </div>
</div>
<div class="c-BlogPosting-excerpt-infoBox">
<!-- Date published -->
<span itemprop="description" class="c-BlogPosting-excerpt__datePublished">
<i class="fa fa-calendar-o" aria-hidden="true"></i> {{article.date | date: "%d.%m.%Y"}}
<meta itemprop="datePublished" content="{{article.date | date_to_xmlschema }}">
<meta itemprop="dateModified" content=""> </span>
<br class="hide-for-medium">
<!-- Authors -->
<span itemprop="author" itemtype="http://schema.org/Person" class="c-BlogPosting-excerpt__authors" itemscope="">
<i class="fa fa-user" aria-hidden="true"></i>
<span itemprop="name" class="c-BlogPosting-excerpt__author">{{ article.author }}</span>
<br class="hide-for-medium"> </span>
</div>
</article>
{% endfor %}
<div class="c-BlogPosting-excerpt-nextBox">
<a href="{{'/aktuality/' | relative_url}}" rel="next" class="button expanded large">Další články</a>
</div>
</div>
</section>
</div>
{% if page.rbar %}
<div class="medium-12 large-4 columns">
{% include right-bar/rbar.html param='rbar' %}
</div>
{% endif %}
</div>