jekyll-theme-pirati 7.3.0 → 7.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_data/menu.yml +10 -1
- data/_includes/menu.html +2 -0
- data/_includes/right-bar/bar_kodo.html +1 -1
- data/_includes/right-bar/bar_video.html +29 -7
- data/_includes/submenu.html +23 -18
- data/_sass/components/widget-accordion.scss +8 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 48c331ffaa282f9b3b31b81881d52ad1dd4f2a3b177fe375837cc9bef1f4aecc
|
|
4
|
+
data.tar.gz: b454daf39132612120d1c8e4ecc76fb1e811282e9e98e55a2d0148e096422f93
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b2bba92fad43f00298f6a9e1a756cff60496f3aa51a23392200d5a00c05e94a8ba4505ebde5d490a86e8a7cd870d9b9b1acfc5a3af7ab6b0dcb037f08f9f81b3
|
|
7
|
+
data.tar.gz: 37b6271108d32a9e88bee9af9266c80a487fe19499fcf5df6d7070e903f7684aa823bee853b138def5ad73bbaa46322d55e6aaff9948935c7fbc7fcad7dbe55b
|
data/_data/menu.yml
CHANGED
|
@@ -18,7 +18,14 @@ main:
|
|
|
18
18
|
match: aktuality
|
|
19
19
|
- link: /lide/
|
|
20
20
|
name: O nás
|
|
21
|
-
match: lide
|
|
21
|
+
match: lide, regiony
|
|
22
|
+
submenu:
|
|
23
|
+
- link: /lide/
|
|
24
|
+
name: Naši lidé
|
|
25
|
+
match: lide
|
|
26
|
+
- link: /regiony/
|
|
27
|
+
name: Místní sdružení
|
|
28
|
+
match: reriony
|
|
22
29
|
- link: /komunalni-volby/praha2018
|
|
23
30
|
name: Komunální volby
|
|
24
31
|
match: komunalni-volby
|
|
@@ -39,6 +46,8 @@ main:
|
|
|
39
46
|
name: Kontakt
|
|
40
47
|
match: kontakt
|
|
41
48
|
|
|
49
|
+
# hideSearch: yes
|
|
50
|
+
|
|
42
51
|
bottom:
|
|
43
52
|
- class: small-12 medium-4
|
|
44
53
|
title: Připoj se
|
data/_includes/menu.html
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
</a>
|
|
9
9
|
</div>
|
|
10
10
|
|
|
11
|
+
{% unless site.data.menu.hideSearch %}
|
|
11
12
|
<div class="c-top-bar__search">
|
|
12
13
|
<div class="__vue-root" data-app="SiteSearch">
|
|
13
14
|
<!-- this will get replaced by Vue.js content, placeholder only -->
|
|
@@ -17,6 +18,7 @@
|
|
|
17
18
|
</div>
|
|
18
19
|
</div>
|
|
19
20
|
</div>
|
|
21
|
+
{% endunless %}
|
|
20
22
|
|
|
21
23
|
<div id="responsive-menu" class="c-responsive-menu">
|
|
22
24
|
<ul class="c-responsive-menu__items" data-dropdown-menu="">
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
{% endfor %}
|
|
12
12
|
<div class="c-widget-accordion-content__cta">
|
|
13
13
|
{% assign peopleCol = site.collections | where: "label", "people" | first %}
|
|
14
|
-
<a class="expanded button large u-0margin" href="{% if peopleCol.root %}{{ peopleCol.root }}{% else %}{{ '/
|
|
14
|
+
<a class="expanded button large u-0margin" href="{% if peopleCol.root %}{{ peopleCol.root }}{% else %}{{ '/kontakt/' | relative_url }}{% endif %}"> Ozvi se nám! </a>
|
|
15
15
|
</div>
|
|
16
16
|
</div>
|
|
17
17
|
</li>
|
|
@@ -1,20 +1,42 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
{% if page.youtube %}
|
|
2
|
+
<div class="o-section-block show-for-medium">
|
|
3
|
+
<ul class="c-widget-accordion" data-accordion="" data-allow-all-closed="true">
|
|
3
4
|
<li class="c-widget-accordion-item is-active" data-accordion-item="">
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
|
|
6
|
+
{% if page.youtube.title %}
|
|
7
|
+
<a href="#" class="c-widget-accordion-link c-widget-accordion-link--yt">
|
|
8
|
+
<span class="c-widget-accordion__title">{{page.youtube.title}}</span>
|
|
6
9
|
</a>
|
|
10
|
+
{% endif %}
|
|
11
|
+
|
|
7
12
|
<div class="c-widget-accordion-content" data-tab-content="">
|
|
8
13
|
<div class="c-widget-accordion-content-video">
|
|
14
|
+
|
|
9
15
|
<div class="c-widget-accordion-content__video u-video-wrapper-16-9">
|
|
10
|
-
|
|
16
|
+
|
|
17
|
+
{% if page.youtube.id %}
|
|
18
|
+
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/{{page.youtube.id}}?rel=0&controls=0" style="border: 0;" allowfullscreen=""></iframe>
|
|
19
|
+
{% endif %}
|
|
20
|
+
|
|
21
|
+
{% if page.youtube.playlist %}
|
|
22
|
+
|
|
23
|
+
<iframe width="560" height="315" src="https://www.youtube.com/embed/videoseries?list={{page.youtube.playlist}}" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
|
|
24
|
+
{% endif %}
|
|
25
|
+
|
|
11
26
|
</div>
|
|
27
|
+
|
|
28
|
+
{% if page.youtube.button %}
|
|
12
29
|
<div class="c-widget-accordion-content__cta">
|
|
13
|
-
|
|
14
|
-
|
|
30
|
+
<a class="expanded button large u-0margin" href={{page.youtube.button.url}} target="_blank" rel="noopener noreferrer">
|
|
31
|
+
{{page.youtube.button.title}}
|
|
32
|
+
</a>
|
|
15
33
|
</div>
|
|
34
|
+
{% endif %}
|
|
35
|
+
|
|
16
36
|
</div>
|
|
17
37
|
</div>
|
|
38
|
+
|
|
18
39
|
</li>
|
|
19
40
|
</ul>
|
|
20
41
|
</div>
|
|
42
|
+
{% endif %}
|
data/_includes/submenu.html
CHANGED
|
@@ -1,23 +1,28 @@
|
|
|
1
1
|
{% for menu in site.data.menu.main %}
|
|
2
|
-
{%
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
{% assign matches = menu.match | split: ", " %}
|
|
3
|
+
{% for match in matches %}
|
|
4
|
+
{% if page.url contains match %}
|
|
5
|
+
{% if menu.submenu %}
|
|
6
|
+
<nav class="c-top-sub-nav">
|
|
7
|
+
<div class="row">
|
|
8
|
+
<div class="c-top-sub-nav-inner columns">
|
|
9
|
+
<div class="c-top-sub-nav__header">
|
|
10
|
+
<h2 class="c-top-sub-nav__heading">
|
|
11
|
+
<a href="{{ menu.link }}">{{ menu.name }} </a>
|
|
12
|
+
</h2>
|
|
13
|
+
</div>
|
|
14
|
+
<div class="c-top-sub-nav-divider"></div>
|
|
15
|
+
<ul class="c-top-sub-nav-items">
|
|
16
|
+
{% for submenu in menu.submenu %}
|
|
17
|
+
<li class="c-top-sub-nav__item {% if page.url contains submenu.match %}c-top-sub-nav__item--active{% endif %}">
|
|
18
|
+
<a href="{{ submenu.link }}">{{ submenu.name }} </a>
|
|
19
|
+
</li>
|
|
20
|
+
{% endfor %}
|
|
21
|
+
</ul>
|
|
9
22
|
</div>
|
|
10
|
-
<div class="c-top-sub-nav-divider"></div>
|
|
11
|
-
<ul class="c-top-sub-nav-items">
|
|
12
|
-
{% for submenu in menu.submenu %}
|
|
13
|
-
<li class="c-top-sub-nav__item {% if page.url contains submenu.match %}c-top-sub-nav__item--active{% endif %}">
|
|
14
|
-
<a href="{{ submenu.link }}">{{ submenu.name }} </a>
|
|
15
|
-
</li>
|
|
16
|
-
{% endfor %}
|
|
17
|
-
</ul>
|
|
18
23
|
</div>
|
|
19
|
-
</
|
|
20
|
-
|
|
24
|
+
</nav>
|
|
25
|
+
{% endif %}
|
|
21
26
|
{% endif %}
|
|
22
|
-
{%
|
|
27
|
+
{% endfor %}
|
|
23
28
|
{% endfor %}
|