forked from pirati-web/chrudim.pirati.cz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
69 lines (68 loc) · 3.53 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
---
layout: default
rbar: cal, people, video
---
{% include title/title_header.html %}
<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>