jekyll-theme-pirati 3.3.0 → 3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 21c3c90982096f07d90eba1014a432e01466a73fef28a73307f6fecb643ec0b0
4
- data.tar.gz: 2e26d48dfad2e9a34979497e680462381a394c5567aa85edc8f758d5fa9652b7
3
+ metadata.gz: 8f1c6fb99ddaf062b1abdf7d2c2df232f858969bd8cba71822f2f8e14d0067a4
4
+ data.tar.gz: 30a083b9e3184461c7cffedf275e662dcca29f182b1c2908da11052aa742695f
5
5
  SHA512:
6
- metadata.gz: fc23288f79f43d7ee4cc0bc98954c75807610d8dce15ef729b41b44f214a263ed5e37259c6e9884f722fc118e4b468ac2fe98ed1c239a8ec5a58f5d1c2e5c784
7
- data.tar.gz: 9a85d3d3a6599d61b8131884e08b537d796d5f22a86f104174b7f0ce842b4024a8445aaf2381f5e262e5b4b831784bdf66c67e0a33dd8bbb94d3ca514a729b52
6
+ metadata.gz: 110789c94729177293e630d9626a81c738e4482e915ce22db60569b264c605718b0fae03ee37911a82e6617407e8e502a626d68c3b12e62e962cc2a18e602b54
7
+ data.tar.gz: 4440f3b3869d7e6f5f73f1d9f9dde84c0e3a62b3f4d6606a40c77a9fb99f8abdbc5281a381cee5f47b8e950744f192dda9c1379913efe46480eacf34ecb022c3
data/_data/elections.yml CHANGED
@@ -1,4 +1,5 @@
1
1
  headerTitle: Komunální volby 2018
2
+ baseUrl: /komunalni-volby/
2
3
 
3
4
  campaigns:
4
5
  - title: Program na radnici
@@ -1,5 +1,5 @@
1
1
  <div class="o-section-block">
2
- <div class="row">
2
+ <div class="row u-uniform-size-row">
3
3
  {% for article in include.posts %}
4
4
  <div class="medium-6 large-4 columns {% if forloop.last %}end{% endif %}">
5
5
  {% include articles/vertical-article.html article=article %}
@@ -7,9 +7,9 @@
7
7
  <img src="{{ img }}" alt="{{ include.candidate.fullname }}" class="c-program-candidate-badge__avatar-image">
8
8
  </div>
9
9
  <div class="c-program-candidate-badge__description">
10
- <h4 class="c-program-candidate-badge__name t-h2"><span class="c-headline-anchor">{{ person.fullname }}</span></h4>
11
- <strong class="c-program-candidate-badge__profession">{{ person.profession }}</strong>
12
- <p class="c-program-candidate-badge__bio">{{ person.candidateDescription }}</p>
10
+ <h4 class="c-program-candidate-badge__name t-h2"><span class="c-headline-anchor">{{ include.candidate.fullname }}</span></h4>
11
+ <strong class="c-program-candidate-badge__profession">{{ include.candidate.profession }}</strong>
12
+ <p class="c-program-candidate-badge__bio">{{ include.candidate.candidateDescription }}</p>
13
13
  </div>
14
14
  </a>
15
15
  </div>
@@ -1,11 +1,11 @@
1
1
  <h2>Sídlo a kontaktní centrum</h2>
2
- <div class="o-media o-media--top">
2
+ <div class="o-media">
3
3
  {% if site.organization.residenceImg %}
4
- <div class="o-media__image">
4
+ <div class="o-media__section">
5
5
  {% asset '{{ site.organization.residenceImg }}' magick:resize='200x' alt='Sídlo' %}
6
6
  </div>
7
7
  {% endif %}
8
- <div class="o-media__body">
8
+ <div class="o-media__section">
9
9
  <h3>{{ site.organization.name }}</h3>
10
10
  <p>{{ site.organization.address | newline_to_br }}</p>
11
11
  {% if site.organization.mapLink %}
@@ -11,7 +11,7 @@
11
11
  {% endif %}
12
12
  {% if site.twitter.profile %}
13
13
  <li class="c-header-bar__item c-header-bar__item--smallerSpace">
14
- <a href="{{ site.twitter.profile }}" rel="noopener noreferrer" target="_blank" title="Náš účet na Twitteru">
14
+ <a href="https://www.twitter.com/{{ site.twitter.profile }}" rel="noopener noreferrer" target="_blank" title="Náš účet na Twitteru">
15
15
  <i class="fa fa-twitter" aria-hidden="true"></i>
16
16
  </a>
17
17
  </li>
@@ -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.49acd64874367c17bf40.css" />
6
- <script src="/assets/js/0.main.49acd64874367c17bf40.js"></script>
7
- <script src="/assets/js/main.49acd64874367c17bf40.js"></script>
5
+ <link rel="stylesheet" href="/assets/js/main.a99c331cc143a42a4e50.css" />
6
+ <script src="/assets/js/0.main.a99c331cc143a42a4e50.js"></script>
7
+ <script src="/assets/js/main.a99c331cc143a42a4e50.js"></script>
8
8
 
9
9
  {% if site.facebook.loadSDK %}
10
10
  <script>
@@ -8,8 +8,8 @@
8
8
  </span>
9
9
  </a>
10
10
  <div class="c-widget-accordion-content" data-tab-content="">
11
- {% if site.calendar.apiKey and site.calendar.id %}
12
- <div class="__vue-root" data-app="Agenda" data-apikey="{{ site.calendar.apiKey }}" data-calendar="{{ site.calendar.id }}"></div>
11
+ {% if site.env.GOOGLE_CALENDAR_APIKEY and site.calendar.id %}
12
+ <div class="__vue-root" data-app="Agenda" data-apikey="{{ site.env.GOOGLE_CALENDAR_APIKEY }}" data-calendar="{{ site.calendar.id }}"></div>
13
13
  {% else %}
14
14
  <iframe src="{{ site.calendar.page }}" style="border-width:0; width: 100%; height: 410px; border: 0; overflow: hidden;"></iframe>
15
15
  {% endif %}
@@ -0,0 +1,11 @@
1
+ <div class="c-top-sub-nav-header">
2
+ <div class="c-top-sub-nav__heading"><a href="{{ site.data.elections.baseUrl }}">{{ site.data.elections.headerTitle }}</a></div>
3
+ </div>
4
+ <div class="c-top-sub-nav-divider"></div>
5
+ <ul class="c-top-sub-nav-items">
6
+ {% for campaign in site.data.elections.campaigns %}
7
+ <li class="c-top-sub-nav__item">
8
+ <a href="{{ site.data.elections.baseUrl }}{{ campaign.category }}/">{{ campaign.title }}</a>
9
+ </li>
10
+ {% endfor %}
11
+ </ul>
@@ -0,0 +1,11 @@
1
+ <nav class="c-top-sub-nav u-center--medium-down">
2
+ <div class="row">
3
+ <div class="c-top-sub-nav-inner">
4
+ <div class="u-cf">
5
+ {% if page.submenu contains 'komunalni-volby' %}
6
+ {% include submenu/komunalni-volby.html %}
7
+ {% endif %}
8
+ </div>
9
+ </div>
10
+ </div>
11
+ </nav>
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  layout: page
3
+ submenu: 'submenu/komunalni-volby.html'
3
4
  ---
4
5
 
5
6
  <div class="row">
@@ -13,8 +14,7 @@ layout: page
13
14
  <h3 class="o-section__heading o-section__heading--small">Kandidátní listina</h3>
14
15
  </div>
15
16
  <div class="c-program-candidates">
16
- {% assign team = site.people | where_exp:"item","item.categories contains 'kandidat-obec'" | sort:"cityCandidatePosition" %}
17
- {% assign team = page.candidates %}
17
+ {% assign team = site.people | where_exp: "item", "item.categories contains page.category" | sort:"cityCandidatePosition" %}
18
18
  {% assign leader_candidate = team | first %}
19
19
  {% assign other_candidates = team | slice:1,team.size %}
20
20
 
@@ -40,7 +40,7 @@ layout: page
40
40
  <h3 class="o-section__heading o-section__heading--small">Program</h3>
41
41
  </div>
42
42
  <div class="c-program-items">
43
- {% assign programCategories = site.program | where_exp:"item","item.categories contains page.category" | sort:"order" %}
43
+ {% assign programCategories = site.program | where_exp:"item", "item.categories contains page.category" | sort:"order" %}
44
44
  {% for category in programCategories %}
45
45
  <div class="c-program-items__item">
46
46
  <div class="c-program-items__item-wrap">
data/_layouts/page.html CHANGED
@@ -2,9 +2,9 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
- {% unless page.nomenu %}
6
- {% include submenu.html %}
7
- {% endunless %}
5
+ {% if page.submenu %}
6
+ {% include submenu/submenu.html %}
7
+ {% endif %}
8
8
 
9
9
  <div class="row">
10
10
  <div class="medium-12 {% unless page.rbar == empty or page.rbar == blank or page.rbar == nil %} large-8{% endunless %} columns">