jekyll-theme-pirati 8.4.1 → 8.4.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dec1a30972ab1d363153ffdf238e68a4f922b77b6d07281371414e734c311fc6
4
- data.tar.gz: 10613a24ce98a9c020ef365348a66dfda701ada666b51164d428916744c0a58e
3
+ metadata.gz: b12d8ee7f2fd340ccade0158b22c259aebb355133f72291710c7609b8efd27dc
4
+ data.tar.gz: dda9cca91b9d13ea9033519184dfa317e5d21490acfeb4ef347ec4f15431fc75
5
5
  SHA512:
6
- metadata.gz: 5f41cd2ceb805a9b3714514315b5bf0c12a01282f17475d937e78f9827055051c229a0195683f04639173d3815841650b7b6152147f2e21c85170b3e7ebd44a7
7
- data.tar.gz: baa60d9abb4c239cfd5c315eb6ca3884acec9ef29fbd993a1fa7dbf7b172c5b3e13b2757519f3a8240f5df2c833a0630f5d83d53daf230976c0447e9abd2595f
6
+ metadata.gz: 645fb45c8769b41ce60652222f4a0dfa66f826128c3b9b056d46190c57b67c794cfae23de0403ed5d4f4b61b19aeb5c0092f00950c27c47feb84afb258f395a8
7
+ data.tar.gz: 1a6b7ac9e9653ff1cef98336e87c90b399ed030ddc53115ca3454fa43b28824361f1e2d18a6a9af672586883ff97b6a4c12e91e4f9fd719a5b78f62f3c6ce428
@@ -95,9 +95,11 @@
95
95
  </div>
96
96
  </div>
97
97
  </section>
98
+ <section class="bg-black py-4 lg:py-12">
99
+ <div class="medium-12 large-7 text-white" ><center><hr></hr>
100
+ <a href="https://www.pirati.cz/o-nas/ochrana-osobnich-udaju/">Zásady zpracování osobních údajů a informace o využití cookies</a></center>
101
+ </div>
102
+ </section>
98
103
  </div>
99
104
  </ui-app>
100
- </footer>
101
-
102
-
103
-
105
+ </footer>
@@ -85,7 +85,7 @@
85
85
  </div>
86
86
  </button>
87
87
 
88
- <button @click="toggleView('calendar')" class="btn btn--inline-icon btn--condensed btn--hoveractive btn--grey-500 btn--to-orange-300 text-sm" :class="{'btn--activated': isCurrentView('calendar')}">
88
+ <button @click="toggleView('calendar');replaceHTMLEnts();" class="btn btn--inline-icon btn--condensed btn--hoveractive btn--grey-500 btn--to-orange-300 text-sm" :class="{'btn--activated': isCurrentView('calendar')}">
89
89
  <div class="btn__body">
90
90
  <i class="btn__inline-icon ico--calendar mr-0 md:mr-2 text-orange-300"></i>
91
91
  <span class="hidden md:block">{{ site.calendar.title }}</span>
@@ -141,3 +141,27 @@
141
141
  {% endif %}
142
142
  </ui-app>
143
143
  </div>
144
+ <script>
145
+ function replaceHTMLEnts() {
146
+ // Get all <p> elements in the document
147
+ var x = document.querySelectorAll("p");
148
+ var i;
149
+ for (i = 0; i < x.length; i++) {
150
+ x[i].innerHTML=htmlDecode(x[i].innerHTML);
151
+
152
+ }
153
+ x = document.querySelectorAll("a");
154
+ for (i = 0; i < x.length; i++) {
155
+ x[i].innerHTML=htmlDecode(x[i].innerHTML);
156
+
157
+ }
158
+ }
159
+
160
+ function htmlDecode(input){
161
+ var e = document.createElement('div');
162
+ e.innerHTML = input;
163
+ return e.childNodes.length === 0 ? "" : e.childNodes[0].nodeValue;
164
+ }
165
+
166
+ replaceHTMLEnts();
167
+ </script>
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-pirati
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.4.1
4
+ version: 8.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jitka Novotná
8
8
  - Filip Vařecha
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-11-16 00:00:00.000000000 Z
12
+ date: 2021-09-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jekyll
@@ -53,7 +53,7 @@ dependencies:
53
53
  - - "~>"
54
54
  - !ruby/object:Gem::Version
55
55
  version: '10.0'
56
- description:
56
+ description:
57
57
  email:
58
58
  - jitka@ucw.cz
59
59
  - filip.varecha@pirati.cz
@@ -303,7 +303,7 @@ homepage: https://github.com/pirati-web/jekyll-theme-pirati#readme
303
303
  licenses:
304
304
  - MIT
305
305
  metadata: {}
306
- post_install_message:
306
+ post_install_message:
307
307
  rdoc_options: []
308
308
  require_paths:
309
309
  - lib
@@ -318,9 +318,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
318
318
  - !ruby/object:Gem::Version
319
319
  version: '0'
320
320
  requirements: []
321
- rubyforge_project:
321
+ rubyforge_project:
322
322
  rubygems_version: 2.7.6
323
- signing_key:
323
+ signing_key:
324
324
  specification_version: 4
325
325
  summary: Basic theme for Czech pirate party
326
326
  test_files: []