jekyll-theme-pirati 3.0.0 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (98) hide show
  1. checksums.yaml +4 -4
  2. data/_data/members.yml +9 -0
  3. data/_includes/accordeon/accordeon.html +1 -3
  4. data/_includes/articles/author.html +8 -0
  5. data/_includes/articles/horizontal-article.html +48 -0
  6. data/_includes/articles/list-responsive.html +9 -0
  7. data/_includes/articles/pagination.html +23 -23
  8. data/_includes/articles/vertical-article.html +51 -0
  9. data/_includes/candidate-badge.html +14 -0
  10. data/_includes/contacts/basic-contacts.html +33 -0
  11. data/_includes/contacts/{residance.html → residence.html} +4 -4
  12. data/_includes/footer.html +13 -13
  13. data/_includes/head.html +22 -22
  14. data/_includes/header.html +1 -1
  15. data/_includes/headline-image.html +3 -2
  16. data/_includes/js/main.html +3 -3
  17. data/_includes/menu.html +1 -1
  18. data/_includes/page-header.html +12 -0
  19. data/_includes/people/list-group.html +7 -9
  20. data/_includes/people/list-responsive.html +13 -0
  21. data/_includes/people/profile-badge.html +44 -31
  22. data/_includes/right-bar/bar_cal.html +2 -3
  23. data/_includes/right-bar/bar_foto.html +2 -5
  24. data/_includes/right-bar/bar_garant.html +2 -4
  25. data/_includes/right-bar/bar_people.html +5 -7
  26. data/_includes/right-bar/bar_person_contact.html +8 -10
  27. data/_includes/right-bar/bar_program.html +10 -12
  28. data/_includes/right-bar/bar_video.html +1 -1
  29. data/_includes/right-bar/rbar.html +0 -11
  30. data/_includes/submenu.html +1 -1
  31. data/_layouts/contacts.html +3 -3
  32. data/_layouts/default.html +1 -1
  33. data/_layouts/komunalni-volby.html +47 -51
  34. data/_layouts/members.html +26 -0
  35. data/_layouts/page.html +9 -23
  36. data/_layouts/post.html +33 -42
  37. data/_layouts/program-post.html +5 -0
  38. data/_sass/_base.scss +0 -120
  39. data/_sass/_settings.scss +4 -4
  40. data/_sass/components/article-listing.scss +51 -0
  41. data/_sass/components/blockquote.scss +5 -7
  42. data/_sass/components/hp-banner.scss +11 -0
  43. data/_sass/components/pagination.scss +28 -7
  44. data/_sass/components/program.scss +24 -49
  45. data/_sass/components/simple-accordion.scss +16 -23
  46. data/_sass/components/top-bar.scss +18 -50
  47. data/_sass/components/typography.scss +15 -2
  48. data/_sass/components/vertical-navigation.scss +1 -3
  49. data/_sass/components/widget-accordion.scss +54 -208
  50. data/_sass/objects/media.scss +21 -54
  51. data/_sass/objects/section.scss +1 -5
  52. data/_sass/utilities/utilities.scss +18 -90
  53. data/assets/css/main.scss +2 -6
  54. data/assets/{favicon → img/favicon}/apple-touch-icon-114x114.png +0 -0
  55. data/assets/{favicon → img/favicon}/apple-touch-icon-120x120.png +0 -0
  56. data/assets/{favicon → img/favicon}/apple-touch-icon-144x144.png +0 -0
  57. data/assets/{favicon → img/favicon}/apple-touch-icon-152x152.png +0 -0
  58. data/assets/{favicon → img/favicon}/apple-touch-icon-57x57.png +0 -0
  59. data/assets/{favicon → img/favicon}/apple-touch-icon-60x60.png +0 -0
  60. data/assets/{favicon → img/favicon}/apple-touch-icon-72x72.png +0 -0
  61. data/assets/{favicon → img/favicon}/apple-touch-icon-76x76.png +0 -0
  62. data/assets/{favicon/favicon-128.png → img/favicon/favicon-128x128.png} +0 -0
  63. data/assets/{favicon → img/favicon}/favicon-16x16.png +0 -0
  64. data/assets/{favicon → img/favicon}/favicon-196x196.png +0 -0
  65. data/assets/{favicon → img/favicon}/favicon-32x32.png +0 -0
  66. data/assets/{favicon → img/favicon}/favicon-96x96.png +0 -0
  67. data/assets/{favicon → img/favicon}/favicon.ico +0 -0
  68. data/assets/{favicon → img/favicon}/mstile-144x144.png +0 -0
  69. data/assets/{favicon → img/favicon}/mstile-150x150.png +0 -0
  70. data/assets/{favicon → img/favicon}/mstile-310x150.png +0 -0
  71. data/assets/{favicon → img/favicon}/mstile-310x310.png +0 -0
  72. data/assets/{favicon → img/favicon}/mstile-70x70.png +0 -0
  73. data/assets/js/{0.main.98ff15822eba72edef32.js → 0.main.e640f60e727337dacf2d.js} +0 -0
  74. data/assets/js/{0.main.98ff15822eba72edef32.js.map → 0.main.e640f60e727337dacf2d.js.map} +1 -1
  75. data/assets/js/main.e640f60e727337dacf2d.css +3 -0
  76. data/assets/js/main.e640f60e727337dacf2d.css.map +1 -0
  77. data/assets/js/{main.98ff15822eba72edef32.js → main.e640f60e727337dacf2d.js} +0 -0
  78. data/assets/js/{main.98ff15822eba72edef32.js.map → main.e640f60e727337dacf2d.js.map} +1 -1
  79. metadata +41 -45
  80. data/_includes/articles/featured_article.html +0 -56
  81. data/_includes/articles/hp_article.html +0 -41
  82. data/_includes/articles/list_3col.html +0 -22
  83. data/_includes/articles/standard_article.html +0 -47
  84. data/_includes/candidate_badge.html +0 -16
  85. data/_includes/contacts/basic_contacts.html +0 -34
  86. data/_includes/people/list-2col.html +0 -28
  87. data/_includes/right-bar/bar_list.html +0 -48
  88. data/_includes/right-bar/bar_otevrenost.html +0 -29
  89. data/_includes/right-bar/bar_teams_summary.html +0 -30
  90. data/_includes/right-bar/bar_teams_toc.html +0 -31
  91. data/_includes/right-bar/bar_toc.html +0 -77
  92. data/_layouts/team.html +0 -45
  93. data/_sass/components/BlogPosting.scss +0 -276
  94. data/_sass/components/pripoj-se.scss +0 -97
  95. data/assets/js/main.98ff15822eba72edef32.css +0 -3
  96. data/assets/js/main.98ff15822eba72edef32.css.map +0 -1
  97. data/assets/people/piratska-strana.png +0 -0
  98. data/assets/people/ppp.jpg +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9a229c7fd9edeb25819eb2fac103fca20944262df442d8d60b9d1d11978caa66
4
- data.tar.gz: 3e24495b76341f6b5552ab54befe4f45eeff779b7cb66847f5b98b6f82b6444a
3
+ metadata.gz: a47f84d01a6148c8e9fe88459ba753145a8a4418021cf5d378dca60f188c8c30
4
+ data.tar.gz: 003de86e042d8d353aa8ed834d85ac636a5686ee7a14bdb5fbc37897a66bc9d0
5
5
  SHA512:
6
- metadata.gz: b50f7e2bcf6fbfd650ac417a55977d74a0b2b151337642b551efaa1fc8e9b57d3f54d4e2689b86083c1c00e976230fcced6d937b7222d54474f35959ca27c42d
7
- data.tar.gz: 806f9eec8fde46037cec4fdfe8e5642af855a280c69ab8d398899b5450dfc9955abd1085a53c74b60e781f3d6967dde5ef6c05479e6a8453c0d95a0583c9510b
6
+ metadata.gz: cd7114f54e37c4bd017a74e63892e9b28914627e7fb7f4a5819352508adac54ecd45c714f9bdf2ad2457b3df36768bc38b31bbbeccdf7a1cbe3844c38555d9c4
7
+ data.tar.gz: d97bff6b3533f4d0789cb6488b45478dfc52bf155223a9600741bab436deefecf46c2b0f61c3be067b6609b0039a26d2e5a9ab9b3a63619526e01a99f6d6674c
@@ -0,0 +1,9 @@
1
+ viewMode: grouped # or alltogether
2
+ groups:
3
+ - name: Místní předsednictvo
4
+ category: pms
5
+ sort: ordpms
6
+ - name: Členové
7
+ category: clenove
8
+ - name: Aktivní příznivci
9
+ category: priznivci
@@ -4,9 +4,7 @@
4
4
  <span class="c-widget-accordion__title c-widget-accordion__title--noicon c-widget-accordion__title--plain">{{point.title}}</span>
5
5
  </a>
6
6
  <div class="c-widget-accordion-content" data-tab-content="">
7
- <div class="c-widget-accordion-content-inner c-widget-accordion-content-inner--bigp">
8
- {{point.content}}
9
- </div>
7
+ {{ point.content }}
10
8
  </div>
11
9
  </li>
12
10
  </ul>
@@ -0,0 +1,8 @@
1
+ {% if include.article.authorId %}
2
+ {% assign author = site.people | where_exp:"item","item.uid contains include.article.authorId" | first %}
3
+ <a href={{author.url}}>
4
+ {{author.name}}
5
+ </a>
6
+ {% else %}
7
+ {{ include.article.author }}
8
+ {% endif %}
@@ -0,0 +1,48 @@
1
+ <article itemtype="http://schema.org/BlogPosting" class="c-article-listing" itemscope="">
2
+ <link itemprop="mainEntityOfPage" href="{{ include.article.url | absolute_url }}">
3
+
4
+ <div class="c-article-listing__row">
5
+ <div class="c-article-listing__photobox">
6
+ <div itemprop="image" itemtype="http://schema.org/ImageObject" class="c-article-listing__image" itemscope="">
7
+ {% capture imgPath %}{% asset '{{ include.article.image }}' magick:resize="348x232^" magick:gravity='center' magick:crop='348x232+0+0' @path %}{% endcapture %}
8
+ <a href="{{ include.article.url | relative_url }}">
9
+ <img src="{{ imgPath }}" alt="{{ include.article.title }}">
10
+ </a>
11
+ <meta itemprop="url" content="{{ imgPath }}">
12
+ </div>
13
+ </div>
14
+
15
+ <div class="c-article-listing__content">
16
+ <!-- Headline -->
17
+ <h2 itemprop="headline" class="c-BlogPosting-excerpt__title">
18
+ <a class="c-headline-anchor" href="{{ include.article.url | relative_url }}" itemprop="url">{{ include.article.title }}</a>
19
+ </h2>
20
+ <div itemprop="description" class="c-BlogPosting-excerpt-content">{{ include.article.excerpt | truncatewords: 33 }} </div>
21
+ <a class="c-emphasized-anchor" href="{{ include.article.url | relative_url }}">Přečíst celý článek &rsaquo;</a>
22
+ </div>
23
+ <!-- Publisher -->
24
+ <div itemprop="publisher" itemtype="http://schema.org/Organization" class="u-hidden" itemscope="">
25
+ <div itemprop="logo" itemtype="http://schema.org/ImageObject" itemscope="">
26
+ <meta itemprop="url" content="{{ 'assets/img/brand/logo.svg' | relative_url }}"> </div>
27
+ <meta itemprop="name" content="Česká pirátská strana">
28
+ </div>
29
+ </div>
30
+
31
+ <div class="c-article-listing__meta">
32
+ <div class="c-metadata-block-section">
33
+ <!-- Date published -->
34
+ <span itemprop="description" class="c-metadata-block-section__item">
35
+ <i class="fa fa-calendar-o" aria-hidden="true"></i> {{ include.article.date | date: "%d.%m.%Y" }}
36
+ <meta itemprop="datePublished" content="{{ include.article.date | date_to_xmlschema }}" />
37
+ </span>
38
+
39
+ <!-- Authors -->
40
+ <span itemprop="author" itemtype="http://schema.org/Person" class="c-metadata-block-section__item" itemscope="">
41
+ <i class="fa fa-user" aria-hidden="true"></i>
42
+ <span itemprop="name">
43
+ {% include articles/author.html article=page %}
44
+ </span>
45
+ </span>
46
+ </div>
47
+ </div>
48
+ </article>
@@ -0,0 +1,9 @@
1
+ <div class="o-section-block">
2
+ <div class="row">
3
+ {% for article in include.posts %}
4
+ <div class="medium-6 large-4 columns {% if forloop.last %}end{% endif %}">
5
+ {% include articles/vertical-article.html article=article %}
6
+ </div>
7
+ {% endfor %}
8
+ </div>
9
+ </div>
@@ -1,27 +1,27 @@
1
- <ul class="pagination text-center" role="navigation" aria-label="Pagination">
2
- {% if include.paginator.page != 1 %}
3
- <li class="pagination-previous">
4
- <a href="{{ include.paginator.previous_page_path }}" class="button expanded large" aria-label="Previous page">Předchozí</a>
5
- </li>
6
- {% endif %}
1
+ <ul class="c-pagination text-center" role="navigation" aria-label="Pagination">
2
+ {% if include.paginator.page != 1 %}
3
+ <li class="c-pagination__previous c-pagination__link">
4
+ <a class="c-pagination__anchor" href="{{ include.paginator.previous_page_path }}" aria-label="Předchozí stránka">Předchozí</a>
5
+ </li>
6
+ {% endif %}
7
7
 
8
- {% for page in (1..include.paginator.total_pages) %}
9
- <li {% if page == include.paginator.page %} class="current"{% endif %}>
10
- {% if page == include.paginator.page %}
11
- <span>{{ forloop.index }}</span>
8
+ {% for page in (1..include.paginator.total_pages) %}
9
+ <li class="c-pagination__link{% if page == include.paginator.page %} c-pagination__link--current{% endif %}">
10
+ {% if page == include.paginator.page %}
11
+ <span class="c-pagination__anchor">{{ forloop.index }}</span>
12
+ {% else %}
13
+ {% if forloop.index == 1 %}
14
+ <a class="c-pagination__anchor" href="/aktuality/" aria-label="Stránka {{ forloop.index }}">{{ forloop.index }}</a>
12
15
  {% else %}
13
- {% if forloop.index == 1 %}
14
- <a href="/aktuality/" aria-label="Page {{ forloop.index }}">{{ forloop.index }}</a>
15
- {% else %}
16
- <a href="/aktuality/{{forloop.index}}/" aria-label="Page {{ forloop.index }}">{{ forloop.index }}</a>
17
- {% endif %}
16
+ <a class="c-pagination__anchor" href="/aktuality/{{forloop.index}}/" aria-label="Stránka {{ forloop.index }}">{{ forloop.index }}</a>
18
17
  {% endif %}
19
- </li>
20
- {% endfor %}
21
-
22
- {% if include.paginator.page != include.paginator.total_pages %}
23
- <li class="pagination-next">
24
- <a href="{{ include.paginator.next_page_path }}" class="button expanded large" aria-label="Next page">Další</a>
25
- </li>
26
18
  {% endif %}
27
- </ul>
19
+ </li>
20
+ {% endfor %}
21
+
22
+ {% if include.paginator.page != include.paginator.total_pages %}
23
+ <li class="c-pagination__next c-pagination__link">
24
+ <a class="c-pagination__anchor" href="{{ include.paginator.next_page_path }}" aria-label="Další stránka">Další</a>
25
+ </li>
26
+ {% endif %}
27
+ </ul>
@@ -0,0 +1,51 @@
1
+ <!-- include.article -->
2
+ <article itemtype="http://schema.org/BlogPosting" class="c-article-listing c-article-listing--vertical" itemscope="">
3
+ <link itemprop="mainEntityOfPage" href="{{ include.article.url | absolute_url }}">
4
+
5
+ <div class="c-article-listing__photobox">
6
+ <a href="{{ include.article.url | relative_url }}">
7
+ <div itemprop="image" itemtype="http://schema.org/ImageObject" class="c-article-listing__image" itemscope="">
8
+ {% capture imgPath %}{% asset '{{ include.article.image }}' magick:resize='751x422^' magick:gravity='center' magick:crop='751x422+0+0' @path %}{% endcapture %}
9
+ <img src="{{ imgPath }}" alt="{{ include.article.title }}">
10
+ <meta itemprop="url" content="{{ imgPath }}">
11
+ </div>
12
+ </a>
13
+ </div>
14
+
15
+ <div class="c-article-listing__meta">
16
+ <div class="c-metadata-block-section">
17
+ <!-- Date published -->
18
+ <span itemprop="description" class="c-metadata-block-section__item">
19
+ <i class="fa fa-calendar-o" aria-hidden="true"></i> {{ include.article.date | date: "%d.%m.%Y" }}
20
+ <meta itemprop="datePublished" content="{{ include.article.date | date_to_xmlschema }}" />
21
+ </span>
22
+
23
+ <!-- Authors -->
24
+ <span itemprop="author" itemtype="http://schema.org/Person" class="c-metadata-block-section__item" itemscope="">
25
+ <i class="fa fa-user" aria-hidden="true"></i>
26
+ <span itemprop="name">
27
+ {% include articles/author.html article=page %}
28
+ </span>
29
+ </span>
30
+ </div>
31
+ </div>
32
+
33
+ <div class="c-article-listing__content">
34
+ <!-- Headline -->
35
+ <h1 itemprop="headline" class="c-article-listing__headline t-h2">
36
+ <a class="c-headline-anchor" href="{{ include.article.url | relative_url }}" itemprop="url">{{ include.article.title }}</a>
37
+ </h1>
38
+ <div itemprop="description" class="c-article-listing__perex">
39
+ <p>{{ include.article.excerpt | truncatewords: 45 | strip_html }}</p>
40
+ </div>
41
+ <a class="c-emphasized-anchor" href="{{ include.article.url | relative_url }}">Přečíst celý článek &rsaquo;</a>
42
+ </div>
43
+
44
+ <!-- Publisher -->
45
+ <div itemprop="publisher" itemtype="http://schema.org/Organization" class="u-hidden" itemscope="">
46
+ <div itemprop="logo" itemtype="http://schema.org/ImageObject" itemscope="">
47
+ <meta itemprop="url" content="{% asset brand/logo.svg @path %}">
48
+ </div>
49
+ <meta itemprop="name" content="Česká pirátská strana">
50
+ </div>
51
+ </article>
@@ -0,0 +1,14 @@
1
+ <div class="c-program-candidate-badge{% if include.leader %} c-program-candidate-badge--leader{% endif %}">
2
+ <a class="c-program-candidate-badge__body" href="{{ include.candidate.url | relative_url }}">
3
+ <div class="c-program-candidate-badge__avatar">
4
+ <span class="c-program-candidate-badge__rank"><span>{{ include.candidate.cityCandidatePosition }}.</span></span>
5
+ {% capture img %}{% if include.candidate.img %}{% asset '{{ include.candidate.img }}' magick:resize='240x240^' magick:gravity='center' magick:crop='240x240+0+0' @path %}{% else %}{% asset people/unknown-pirate.svg @path %}{% endif %}{% endcapture %}
6
+ <img src="{{ img }}" alt="{{ include.candidate.fullname }}" class="c-program-candidate-badge__avatar-image">
7
+ </div>
8
+ <div class="c-program-candidate-badge__description">
9
+ <h4 class="c-program-candidate-badge__name t-h2"><span class="c-headline-anchor">{{ include.candidate.fullname }}</span></h4>
10
+ <strong class="c-program-candidate-badge__profession">{{ include.candidate.profession }}</strong>
11
+ <p class="c-program-candidate-badge__bio">{{ include.candidate.candidateDescription }}</p>
12
+ </div>
13
+ </a>
14
+ </div>
@@ -0,0 +1,33 @@
1
+ <h2>Základní údaje</h2>
2
+ <table>
3
+ <tbody>
4
+ <tr>
5
+ <td>
6
+ <i class="fa fa-envelope"></i>&nbsp;&nbsp;Emailová adresa:
7
+ </td>
8
+ <td>
9
+ <a class="c-emphasized-anchor" href="mailto:{{ site.organization.email }}">{{ site.organization.email }}</a>
10
+ </td>
11
+ </tr>
12
+ <tr>
13
+ <td><i class="fa fa-envelope"></i>&nbsp;&nbsp;Podatelna (Redmine):</td>
14
+ <td><a class="c-emphasized-anchor" href="{{ site.organization.redmineLink }}">podatelna</a></td>
15
+ </tr>
16
+ <tr>
17
+ <td><i class="fa fa-phone"></i>&nbsp;&nbsp;Telefonický kontakt</td>
18
+ <td><a class="c-emphasized-anchor" href="tel:{{ site.organization.phone }}">{{ site.organization.phone }}</a></td>
19
+ </tr>
20
+ <tr>
21
+ <td><i class="fa fa-desktop"></i>&nbsp;&nbsp;Celostátní web</td>
22
+ <td><a class="c-emphasized-anchor" href="https://www.pirati.cz">www.pirati.cz</a></td>
23
+ </tr>
24
+ <tr>
25
+ <td><i class="fa fa-files-o"></i>&nbsp;&nbsp;Datová schránka</td>
26
+ <td> b2i4r6j </td>
27
+ </tr>
28
+ <tr>
29
+ <td><i class="fa fa-university"></i>&nbsp;&nbsp;Transparentní účty</td>
30
+ <td> 2100048174/2010 a <a class="c-emphasized-anchor" href="https://wiki.pirati.cz/fo/seznam_uctu">další účty</a> </td>
31
+ </tr>
32
+ </tbody>
33
+ </table>
@@ -2,16 +2,16 @@
2
2
  <div class="o-media o-media--top">
3
3
  {% if site.organization.residenceImg %}
4
4
  <div class="o-media__image">
5
- <img src="{{ site.organization.residenceImg | relative_url }}" alt="Sídlo">
5
+ {% asset '{{ site.organization.residenceImg }}' magick:resize='200x' alt='Sídlo' %}
6
6
  </div>
7
7
  {% endif %}
8
8
  <div class="o-media__body">
9
9
  <h3>{{ site.organization.name }}</h3>
10
10
  <p>{{ site.organization.address | newline_to_br }}</p>
11
11
  {% if site.organization.mapLink %}
12
- <p>
13
- <a class="c-emphasized-anchor" href="{{ site.organization.mapLink }}">Zobrazit mapu ›</a>
14
- </p>
12
+ <p>
13
+ <a class="c-emphasized-anchor" href="{{ site.organization.mapLink }}">Zobrazit mapu ›</a>
14
+ </p>
15
15
  {% endif %}
16
16
  </div>
17
17
  </div>
@@ -8,18 +8,18 @@
8
8
  <footer class="o-section o-section--darker o-section--bigger u-inverted u-cf">
9
9
  <div class="o-section-inner">
10
10
  <div class="row">
11
- <div class="medium-12 large-3 u-stacked-medium-down columns">
12
- <img src="{{ 'assets/img/brand/logo_napis_white.svg' | relative_url }}" alt="Česká pirátská strana" class="logo u-center-medium-down u-10paddingTop">
13
- <p class="u-0margin u-noWrap u-50paddingTop u-smaller-line-height show-for-large">
11
+ <div class="medium-12 large-3 u-stacked--medium-down u-center--medium-down columns">
12
+ {% asset brand/logo_napis_white.svg alt='Česká pirátská strana' class='logo u-center-medium-down u-stacked' %}
13
+ <p class="u-noWrap u-stacked u-smaller-line-height show-for-large">
14
14
  <span class="u-mirror-horizontally">&copy;</span> Piráti, {{ site.time | date: '%Y' }}. Všechna práva vyhlazena.
15
15
  <br>Sdílejte a nechte ostatní sdílet za stejných
16
16
  <br>podmínek.
17
17
  </div>
18
- <div class="medium-12 large-6 u-stacked-medium-down columns">
19
- <div class="row u-custom-gutter">
18
+ <div class="medium-12 large-6 u-stacked--medium-down u-center--medium-down columns show-for-medium">
19
+ <div class="row">
20
20
  {% for linkGroup in site.data.menu.bottom %}
21
21
  <div class="columns {{ linkGroup.class }}">
22
- <nav class="c-vertical-navigation u-center-medium-down">
22
+ <nav class="c-vertical-navigation u-center---medium-down">
23
23
  {% if linkGroup.title %}
24
24
  <h3 class="c-vertical-navigation__title">{{ linkGroup.title }}</h3>
25
25
  {% endif %}
@@ -35,8 +35,8 @@
35
35
  {% endfor %}
36
36
  </div>
37
37
  </div>
38
- <div class="medium-12 large-3 u-stacked-medium-down columns u-center-medium-down">
39
- <nav class="c-vertical-navigation">
38
+ <div class="medium-12 large-3 u-stacked--medium-down columns u-center--medium-down">
39
+ <nav class="c-vertical-navigation u-stacked">
40
40
  <h3 class="c-vertical-navigation__title">Buďte s námi v síti</h3>
41
41
  <ul class="c-vertical-navigation-items c-vertical-navigation-items--horizontal">
42
42
  {% if site.facebook.profilePage %}
@@ -69,7 +69,7 @@
69
69
  {% endif %}
70
70
  </ul>
71
71
  </nav>
72
- <p class="u-10paddingTop u-maxWidth80percent u-smaller-line-height hide-for-large">
72
+ <p class=" u-stacked u-maxWidth80percent u-smaller-line-height hide-for-large">
73
73
  <span class="u-mirror-horizontally">&copy;</span> Piráti, {{ site.time | date: '%Y' }}. Všechna práva vyhlazena.
74
74
  <br> Sdílejte a nechte ostatní sdílet za stejných podmínek.
75
75
  </div>
@@ -80,15 +80,15 @@
80
80
  {% assign contactPerson = site.people | where_exp: "item","item.uid contains site.organization.contactUid" | first %}
81
81
 
82
82
  {% if contactPerson %}
83
- <aside class="o-section o-section--bigger c-contact-bar u-inverted u-center-medium-down">
83
+ <aside class="o-section o-section--bigger c-contact-bar u-inverted u-center--medium-down show-for-medium">
84
84
  <div class="o-section-inner">
85
85
  <div class="row">
86
86
  <div class="small-12 columns">
87
- <header class="c-contact-bar-header u-stacked-medium-down">
87
+ <header class="c-contact-bar-header u-stacked--medium-down">
88
88
  <h3 class="c-contact-bar__heading"> <a href="{{ '/kontakt/' | relative_url }}">Kontakt</a> </h3>
89
89
  </header>
90
- <ul class="c-contact-bar-items u-stacked-medium-down">
91
- <li class="c-contact-bar__item u-stacked-medium-down">
90
+ <ul class="c-contact-bar-items u-stacked--medium-down">
91
+ <li class="c-contact-bar__item u-stacked--medium-down">
92
92
  <div class="c-contact-bar__description"> {{ contactPerson.fullname }},
93
93
  <a href="mailto:{{ contactPerson.mail }}">{{ contactPerson.mail }}</a>
94
94
  </div>
@@ -11,42 +11,42 @@
11
11
  <meta name="description" content="{{description}}">
12
12
  <meta name="keywords" content="{{keywords}}" />
13
13
  <!-- Favicons -->
14
- <link rel="apple-touch-icon-precomposed" sizes="57x57" href="{{ 'assets/favicon/apple-touch-icon-57x57.png' | relative_url }}">
15
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="{{ 'assets/favicon/apple-touch-icon-114x114.png' | relative_url }}">
16
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="{{ 'assets/favicon/apple-touch-icon-72x72.png' | relative_url }}">
17
- <link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ 'assets/favicon/apple-touch-icon-144x144.png' | relative_url }}">
18
- <link rel="apple-touch-icon-precomposed" sizes="60x60" href="{{ 'assets/favicon/apple-touch-icon-60x60.png' | relative_url }}">
19
- <link rel="apple-touch-icon-precomposed" sizes="120x120" href="{{ 'assets/favicon/apple-touch-icon-120x120.png' | relative_url }}">
20
- <link rel="apple-touch-icon-precomposed" sizes="76x76" href="{{ 'assets/favicon/apple-touch-icon-76x76.png' | relative_url }}">
21
- <link rel="apple-touch-icon-precomposed" sizes="152x152" href="{{ 'assets/favicon/apple-touch-icon-152x152.png' | relative_url }}">
22
- <link rel="icon" type="image/png" href="{{ 'assets/favicon/favicon-196x196.png' | relative_url }}" sizes="196x196">
23
- <link rel="icon" type="image/png" href="{{ 'assets/favicon/favicon-96x96.png' | relative_url }}" sizes="96x96">
24
- <link rel="icon" type="image/png" href="{{ 'assets/favicon/favicon-16x16.png' | relative_url }}" sizes="16x16">
25
- <link rel="icon" type="image/png" href="{{ 'assets/favicon/favicon-32x32.png' | relative_url }}" sizes="32x32">
26
- <link rel="icon" type="image/png" href="{{ 'assets/favicon/favicon-128.png' | relative_url }}" sizes="128x128">
14
+ <link rel="apple-touch-icon-precomposed" sizes="57x57" href="{% asset favicon/apple-touch-icon-57x57.png @path %}">
15
+ <link rel="apple-touch-icon-precomposed" sizes="114x114" href="{% asset favicon/apple-touch-icon-114x114.png @path %}">
16
+ <link rel="apple-touch-icon-precomposed" sizes="72x72" href="{% asset favicon/apple-touch-icon-72x72.png @path %}">
17
+ <link rel="apple-touch-icon-precomposed" sizes="144x144" href="{% asset favicon/apple-touch-icon-144x144.png @path %}">
18
+ <link rel="apple-touch-icon-precomposed" sizes="60x60" href="{% asset favicon/apple-touch-icon-60x60.png @path %}">
19
+ <link rel="apple-touch-icon-precomposed" sizes="120x120" href="{% asset favicon/apple-touch-icon-120x120.png @path %}">
20
+ <link rel="apple-touch-icon-precomposed" sizes="76x76" href="{% asset favicon/apple-touch-icon-76x76.png @path %}">
21
+ <link rel="apple-touch-icon-precomposed" sizes="152x152" href="{% asset favicon/apple-touch-icon-152x152.png @path %}">
22
+ <link rel="icon" type="image/png" href="{% asset favicon/favicon-196x196.png @path %}" sizes="196x196">
23
+ <link rel="icon" type="image/png" href="{% asset favicon/favicon-96x96.png @path %}" sizes="96x96">
24
+ <link rel="icon" type="image/png" href="{% asset favicon/favicon-16x16.png @path %}" sizes="16x16">
25
+ <link rel="icon" type="image/png" href="{% asset favicon/favicon-32x32.png @path %}" sizes="32x32">
26
+ <link rel="icon" type="image/png" href="{% asset favicon/favicon-128x128.png @path %}" sizes="128x128">
27
27
  <link rel="alternate" type="application/rss+xml" title="{{ site.organization.name }} RSS" href="{{ '/feed.xml' | relative_url }}">
28
28
  <meta name="application-name" content="{{ site.organization.name | escape }}">
29
29
  <meta name="msapplication-TileColor" content="#000000">
30
- <meta name="msapplication-TileImage" content="{{ 'assets/favicon/mstile-144x144.png' | relative_url }}">
31
- <meta name="msapplication-square70x70logo" content="{{ 'assets/favicon/mstile-70x70.png' | relative_url }}">
32
- <meta name="msapplication-square150x150logo" content="{{ 'assets/favicon/mstile-150x150.png' | relative_url }}">
33
- <meta name="msapplication-wide310x150logo" content="{{ 'assets/favicon/mstile-310x150.png' | relative_url }}">
34
- <meta name="msapplication-square310x310logo" content="{{ 'assets/favicon/mstile-310x310.png' | relative_url }}">
30
+ <meta name="msapplication-TileImage" content="{% asset favicon/mstile-144x144.png @path %}">
31
+ <meta name="msapplication-square70x70logo" content="{% asset favicon/mstile-70x70.png @path %}">
32
+ <meta name="msapplication-square150x150logo" content="{% asset favicon/mstile-150x150.png @path %}">
33
+ <meta name="msapplication-wide310x150logo" content="{% asset favicon/mstile-310x150.png @path %}">
34
+ <meta name="msapplication-square310x310logo" content="{% asset favicon/mstile-310x150.png @path %}">
35
35
  <meta property="og:url" content="{{ page.url | absolute_url }}" />
36
36
  <meta property="og:type" content="website" />
37
37
  <meta property="og:title" content="{{ title }}" />
38
38
  <meta property="og:description" content="{{ description }}" />
39
39
  {% if page.layout == 'post' %}
40
- <meta property="og:image" content="{{ page.image | relative_url }}" />
40
+ <meta property="og:image" content="{% asset '{{ page.image }}' @path %}" />
41
41
  {% elsif page.img %}
42
- <meta property="og:image" content="{{ 'assets/{{ page.img | relative_url }}" />
42
+ <meta property="og:image" content="{% asset '{{ page.img }}' @path %}" />
43
43
  {% else %}
44
- <meta property="og:image" content="{{ 'assets/img/brand/logo-round.png' | relative_url }}" />
44
+ <meta property="og:image" content="{% asset brand/logo-round.png @path %}" />
45
45
  {% endif %}
46
46
  <!-- Fonts -->
47
47
  {% if page.layout != 'blank' %}
48
48
  <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
49
- <link rel="stylesheet" href="{{ 'assets/css/main.css' | relative_url }}">
49
+ <link rel="stylesheet" href="{% asset 'main.css' @path !type %}">
50
50
  {% endif %}
51
51
  <!-- API Mapy.cz that has to be in the header -->
52
52
  {% if page.mapycz_api %}
@@ -1,4 +1,4 @@
1
- <aside class="o-section o-section--smaller c-header-bar u-inverted u-center-860-down">
1
+ <aside class="o-section o-section--smaller c-header-bar u-inverted u-center--medium-down">
2
2
  <div class="row">
3
3
  <div class="o-section-inner" style="padding: 3px;">
4
4
  <div class="medium-12 columns">
@@ -1,14 +1,15 @@
1
1
  <div class="o-section-block o-section-block-fill">
2
2
  <div class="c-headline-image">
3
+ {% capture imgPath %}{% asset '{{ include.image }}' magick:resize='751x422^' magick:gravity='center' magick:crop='751x422+0+0' @path %}{% endcapture %}
3
4
 
4
5
  <div class="c-headline-image__background">
5
- <img src="{{ include.image | relative_url }}" alt="{{ include.title}}">
6
+ <img src="{{ imgPath }}" alt="{{ include.title}}">
6
7
  </div>
7
8
 
8
9
  <div class="row small-collapse medium-uncollapse">
9
10
  <div class="small-12 columns">
10
11
  <div class="o-section-inner--medium">
11
- <img src="{{ include.image | relative_url }}" alt="{{ include.title }}"> </div>
12
+ <img src="{{ imgPath }}" alt="{{ include.title }}"> </div>
12
13
  </div>
13
14
  </div>
14
15
 
@@ -2,9 +2,9 @@
2
2
  This whole include will be overwritten by built JS files when publishing the
3
3
  theme Gem.
4
4
  {% endcomment %}
5
- <link rel="stylesheet" href="/assets/js/main.98ff15822eba72edef32.css" />
6
- <script src="/assets/js/0.main.98ff15822eba72edef32.js"></script>
7
- <script src="/assets/js/main.98ff15822eba72edef32.js"></script>
5
+ <link rel="stylesheet" href="/assets/js/main.e640f60e727337dacf2d.css" />
6
+ <script src="/assets/js/0.main.e640f60e727337dacf2d.js"></script>
7
+ <script src="/assets/js/main.e640f60e727337dacf2d.js"></script>
8
8
 
9
9
  {% if site.facebook.loadSDK %}
10
10
  <script>