eclipsefdn-hugo-solstice-theme 0.0.134 → 0.0.138
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.
|
@@ -171,12 +171,12 @@ span.eclipsefdn-agenda-legend-icon-{{ urlize .id }}::after {
|
|
|
171
171
|
<td>
|
|
172
172
|
<ul class="margin-0 padding-0" style="list-style: none;">
|
|
173
173
|
{{range .times}}
|
|
174
|
-
<li>{{ . }}</li>
|
|
174
|
+
<li>{{ . | safeHTML }}</li>
|
|
175
175
|
{{end}}
|
|
176
176
|
</ul>
|
|
177
177
|
</td>
|
|
178
178
|
{{else}}
|
|
179
|
-
<td>{{.time}}</td>
|
|
179
|
+
<td>{{.time | safeHTML }}</td>
|
|
180
180
|
{{end}}
|
|
181
181
|
{{ end }}
|
|
182
182
|
<!-- Write the slide column if it has been set -->
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
{{ $sortField := .Get "sortField" }}
|
|
26
26
|
{{ $upcoming := .Get "upcoming" | default "false" }}
|
|
27
27
|
{{ $archive := .Get "archive" | default "false" }}
|
|
28
|
+
{{ $past_event := .Get "past_event" | default "false" }}
|
|
28
29
|
{{ $includeLinks := .Get "includeList" }}
|
|
29
30
|
{{ $linksClass := .Get "linksClass" | default "list-inline block-summary-more margin-bottom-40" }}
|
|
30
31
|
{{ if not (in (.Page.Scratch.Get "events-container-ids") $id) }}
|
|
@@ -35,7 +36,7 @@
|
|
|
35
36
|
{{ end }}
|
|
36
37
|
<div class="{{ $class }}">
|
|
37
38
|
{{ with $title }}
|
|
38
|
-
<h2 class="{{ $titleClass }}" >{{ . }}</h2>
|
|
39
|
+
<h2 class="{{ $titleClass }}" >{{ . | safeHTML }}</h2>
|
|
39
40
|
{{ end }}
|
|
40
41
|
<div id="{{ $id }}" class="{{ $containerClass }}" data-count="{{ $count }}"
|
|
41
42
|
{{ with $type }} data-type="{{ . }}" {{ end }}
|
|
@@ -45,7 +46,8 @@
|
|
|
45
46
|
{{ with $sortField }} data-sort-field="{{ . }}"{{ end }}
|
|
46
47
|
{{ with $sortOrder }} data-sort-order="{{ . }}"{{ end }}
|
|
47
48
|
{{ if or (eq $upcoming "true") (eq $upcoming "1") }} data-upcoming="1"{{ end }}
|
|
48
|
-
{{ if or (eq $archive "true") (eq $archive "1") }} data-archive="true"{{ end }}
|
|
49
|
+
{{ if or (eq $archive "true") (eq $archive "1") }} data-archive="true"{{ end }}
|
|
50
|
+
{{ if or (eq $past_event "true") (eq $past_event "1") }} data-past-event="1"{{ end }}>
|
|
49
51
|
</div>
|
|
50
52
|
{{ if eq $includeLinks "true" }}
|
|
51
53
|
<ul class="{{ $linksClass }}">
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"main": "webpack.min.js",
|
|
5
5
|
"author": "Christopher Guindon",
|
|
6
6
|
"license": "EPL-2.0",
|
|
7
|
-
"version": "0.0.
|
|
7
|
+
"version": "0.0.138",
|
|
8
8
|
"bugs": {
|
|
9
9
|
"url": "https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme/-/issues"
|
|
10
10
|
},
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"readmeFilename": "README.md",
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"axios": "^0.21.1",
|
|
27
|
-
"eclipsefdn-solstice-assets": "0.0.
|
|
27
|
+
"eclipsefdn-solstice-assets": "0.0.178",
|
|
28
28
|
"json2yaml": "^1.1.0",
|
|
29
29
|
"parse-link-header": "^1.0.1",
|
|
30
30
|
"toml": "^3.0.0"
|