-
Notifications
You must be signed in to change notification settings - Fork 159
/
index.html
91 lines (89 loc) · 4.09 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
---
layout: default
rbar: youtube, video, tw, obchod, fb
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 autobus
---
<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">
{% assign index = 0 %}
{% for article in site.posts %}
{% if index contains "8" %}
{% break %}
{% endif %}
{% unless article.tags contains "ostatní" %}
{% capture index %} {{ index | plus: 1 }} {% endcapture %}
<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>
{% endunless %}
{% 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>