eclipsefdn-hugo-solstice-theme 0.0.158 → 0.0.161
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.
- package/exampleSite/content/third-parent/_index.md +1 -0
- package/layouts/partials/google_search.html +2 -2
- package/layouts/partials/main_prefix.html +6 -0
- package/layouts/partials/sidebar-block.html +3 -1
- package/layouts/partials/sidebar.html +4 -1
- package/layouts/shortcodes/events/agenda.html +2 -1
- package/package.json +2 -2
- package/static/js/eclipsefdn.projects.js +28898 -2
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
<div class="col-md-24">
|
|
28
28
|
<div id="custom-search-form" class="reset-box-sizing">
|
|
29
29
|
<script async src="https://cse.google.com/cse.js?cx={{ .Site.Params.gcse }}"></script>
|
|
30
|
-
<gcse:searchbox-only gname="main" resultsUrl="{{- .Site.Params.gcse_result_url | default "https://www.eclipse.org/home/search
|
|
30
|
+
<gcse:searchbox-only gname="main" resultsUrl="{{- .Site.Params.gcse_result_url | default "https://www.eclipse.org/home/search" }}"></gcse:searchbox-only>
|
|
31
31
|
</div>
|
|
32
32
|
</div>
|
|
33
33
|
</div>
|
|
@@ -37,4 +37,4 @@
|
|
|
37
37
|
</li>
|
|
38
38
|
</ul>
|
|
39
39
|
</li>
|
|
40
|
-
{{ end }}
|
|
40
|
+
{{ end }}
|
|
@@ -19,6 +19,12 @@
|
|
|
19
19
|
<div class="{{- .Params.main_content_class | default .Site.Params.main_content_class | default "col-md-18 padding-bottom-30"}}">
|
|
20
20
|
{{ end }}
|
|
21
21
|
|
|
22
|
+
{{ if eq .Page.Params.is_deprecated true }}
|
|
23
|
+
<div class="alert alert-danger margin-top-20" role="alert">
|
|
24
|
+
This page is deprecated and may contain some information that is no longer relevant or accurate.
|
|
25
|
+
</div>
|
|
26
|
+
{{ end }}
|
|
27
|
+
|
|
22
28
|
{{ if ne .Page.Params.hide_page_title true }}
|
|
23
29
|
<h1>
|
|
24
30
|
{{ if eq .Page.Params.format_title false }}
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
|
|
11
11
|
SPDX-License-Identifier: EPL-2.0
|
|
12
12
|
-->
|
|
13
|
-
|
|
14
13
|
{{ if isset .Site.Menus "sidebar" }}
|
|
15
14
|
{{ $currentPage := . }}
|
|
16
15
|
{{ .Scratch.Set "currentSection" "home" }}
|
|
@@ -48,6 +47,9 @@
|
|
|
48
47
|
</div>
|
|
49
48
|
{{ end }}
|
|
50
49
|
{{ end }}
|
|
50
|
+
{{ if isset $currentPage.Params "custom_sidebar" }}
|
|
51
|
+
{{ $currentPage.Params.custom_sidebar | safeHTML }}
|
|
52
|
+
{{ end }}
|
|
51
53
|
</aside>
|
|
52
54
|
{{ end }}
|
|
53
55
|
{{ end }}
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
{{ $base := .Scratch.Get "base" }}
|
|
22
22
|
{{ $event_id := .Get "event" | default "default" }}
|
|
23
23
|
{{ $src := .Get "src" | default "agenda" }}
|
|
24
|
+
{{ $icon_class := .Get "icon_class" | default "fa-file"}}
|
|
24
25
|
{{ $agendabase := (index (index $base $event_id) $src) }}
|
|
25
26
|
{{ $types := $agendabase.types }}
|
|
26
27
|
{{ $complete := $agendabase.complete }}
|
|
@@ -214,7 +215,7 @@ span.eclipsefdn-agenda-legend-icon-{{ urlize .id }}::after {
|
|
|
214
215
|
<td class="text-center">
|
|
215
216
|
{{ if (isset . "slides") }}
|
|
216
217
|
<a class="btn btn-primary btn-wide" href="{{ .slides }}" title="{{ i18n "agenda-session-slides-button-alt" . }}">
|
|
217
|
-
<i class="fa
|
|
218
|
+
<i class="fa {{ $icon_class }}"></i> <span class="sr-only">{{ i18n "agenda-session-slides-button-alt" . }}</span>
|
|
218
219
|
</a>
|
|
219
220
|
{{ end }}
|
|
220
221
|
</td>
|
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.161",
|
|
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.202",
|
|
28
28
|
"json2yaml": "^1.1.0",
|
|
29
29
|
"toml": "^3.0.0"
|
|
30
30
|
},
|