jekyll-theme-pirati 8.4.3 → 8.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/header.html +8 -8
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8df541636615d92bbbf31aac367a5a4d87337c386507e7628bf677001d3378a5
|
4
|
+
data.tar.gz: 9faafdc458624cf47235b17c969ed12cfe973aa0aeb2225c820e52e05c2d5374
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03bdaa94990f9716a78d1892761e71c6407d88e0c2d296ccfe406dae79b5db3f210800bf998928dc2cb2598691ab4b4085fd87bb3920440fb32dc7aa46da9411
|
7
|
+
data.tar.gz: 3901498ffb9bb595f87552a5b6cc40b6652fc1a4cffb0172ffc3bd411b9fe15b2fee070dfb11ae753811e310ba118ead327d2ab52cb71d9dfa6c913b8adb4272
|
data/_includes/header.html
CHANGED
@@ -67,7 +67,7 @@
|
|
67
67
|
</ui-app>
|
68
68
|
</nav>
|
69
69
|
|
70
|
-
<div class="__js-root">
|
70
|
+
<div class="__js-root" @click="replaceHTMLEnts();">
|
71
71
|
<ui-app inline-template>
|
72
72
|
{% if site.env.GOOGLE_CALENDAR_APIKEY and site.calendar.id %}
|
73
73
|
<ui-calendar-google-provider v-slot="{ events, onShowMore, hasMore }" :calendar-id="'{{ site.calendar.id }}'" :api-key="'{{ site.env.GOOGLE_CALENDAR_APIKEY }}'">
|
@@ -78,7 +78,7 @@
|
|
78
78
|
<nav class="subnav">
|
79
79
|
<div class="container container--wide">
|
80
80
|
<div class="flex">
|
81
|
-
<button @click="toggleView('regions')" class="btn btn--condensed btn--grey-500 btn--hoveractive btn--to-white text-sm mr-2" :class="{'btn--activated': isCurrentView('regions')}">
|
81
|
+
<button @click="toggleView('regions');" class="btn btn--condensed btn--grey-500 btn--hoveractive btn--to-white text-sm mr-2" :class="{'btn--activated': isCurrentView('regions')}">
|
82
82
|
<div class="btn__body">
|
83
83
|
<span>{{ site.organization.name }}</span>
|
84
84
|
<i class="ico--chevron-down ml-4"></i>
|
@@ -93,7 +93,7 @@
|
|
93
93
|
</button>
|
94
94
|
|
95
95
|
{% if calendarProvided %}
|
96
|
-
<a href="#" class="btn text-sm max-w-full hidden lg:block" @click="toggleView('calendar')" v-if="events.length > 0" v-cloak>
|
96
|
+
<a href="#" class="btn text-sm max-w-full hidden lg:block" @click="toggleView('calendar');" v-if="events.length > 0" v-cloak>
|
97
97
|
<div class="btn__body bg-grey-800 text-grey-200 flex divide-x">
|
98
98
|
<span class="pr-4">{{events[0].title}}</span>
|
99
99
|
<span class="pl-4">{{events[0].allDay ? 'Celý den' : events[0].startDateVerbose + ', ' + events[0].startTimeVerbose}}</span>
|
@@ -119,7 +119,7 @@
|
|
119
119
|
<ui-region-map class="container container--default" />
|
120
120
|
</div>
|
121
121
|
<div class="subnav-aside__item" :class="{'subnav-aside__item--visible': isCurrentView('calendar')}">
|
122
|
-
<a @click="toggleView('calendar')" class="subnav-aside__close"><i class="ico--close"></i></a>
|
122
|
+
<a @click="toggleView('calendar');replaceHTMLEnts();" class="subnav-aside__close"><i class="ico--close"></i></a>
|
123
123
|
<div class="container container--default">
|
124
124
|
{% if calendarProvided %}
|
125
125
|
<ui-calendar-renderer :events="events" :on-show-more="onShowMore" :has-more="hasMore" :name="'{{ site.calendar.title }}'"></ui-calendar-renderer>
|
@@ -152,8 +152,9 @@ function replaceHTMLEnts() {
|
|
152
152
|
}
|
153
153
|
x = document.querySelectorAll("a");
|
154
154
|
for (i = 0; i < x.length; i++) {
|
155
|
-
x[i].
|
156
|
-
|
155
|
+
if (x[i].hasOwnProperty("font-bold") && x[i].hasOwnProperty("block")) {
|
156
|
+
x[i].innerHTML=htmlDecode(x[i].innerHTML);
|
157
|
+
}
|
157
158
|
}
|
158
159
|
}
|
159
160
|
|
@@ -162,6 +163,5 @@ function htmlDecode(input){
|
|
162
163
|
e.innerHTML = input;
|
163
164
|
return e.childNodes.length === 0 ? "" : e.childNodes[0].nodeValue;
|
164
165
|
}
|
165
|
-
|
166
|
-
replaceHTMLEnts();
|
166
|
+
|
167
167
|
</script>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-pirati
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 8.4.
|
4
|
+
version: 8.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jitka Novotná
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2021-
|
12
|
+
date: 2021-10-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: jekyll
|