eclipsefdn-hugo-solstice-theme 2.1.0 → 3.0.1
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/.changeset/config.json +11 -0
- package/CHANGELOG.md +38 -19
- package/config.toml +521 -286
- package/exampleSite/config/_default/config.toml +2 -2
- package/exampleSite/config/_default/menus.en.toml +38 -47
- package/exampleSite/content/changelog/index.md +9 -0
- package/exampleSite/data/doc_params.yml +2 -23
- package/exampleSite/data/site_params.yml +5 -50
- package/exampleSite/layouts/changelog/single.html +43 -0
- package/layouts/_default/baseof.html +0 -1
- package/layouts/partials/breadcrumbs.html +26 -34
- package/layouts/partials/featured_story_popup.html +6 -0
- package/layouts/partials/footer.html +60 -19
- package/layouts/partials/footer_js.html +1 -1
- package/layouts/partials/head.html +10 -10
- package/layouts/partials/header.html +8 -8
- package/layouts/partials/jumbotron.html +73 -85
- package/layouts/partials/main_prefix.html +16 -18
- package/layouts/partials/main_suffix.html +1 -18
- package/layouts/partials/mega_menu.html +47 -51
- package/layouts/partials/mobile_menu.html +43 -97
- package/layouts/partials/nav.html +47 -60
- package/layouts/partials/navbar.html +108 -29
- package/layouts/partials/sidebar.html +48 -54
- package/layouts/partials/socials.html +15 -90
- package/layouts/partials/toolbar.html +4 -70
- package/package.json +7 -4
- package/webpack.mix.js +4 -4
- package/layouts/partials/featured_story.html +0 -38
- package/layouts/partials/footer_links/footer-copyright.html +0 -19
- package/layouts/partials/footer_links/footer-eclipse-foundation.html +0 -11
- package/layouts/partials/footer_links/footer-legal.html +0 -12
- package/layouts/partials/footer_links/footer-other.html +0 -10
- package/layouts/partials/footer_links/footer-useful-links.html +0 -11
- package/layouts/partials/footer_links/links.html +0 -3
- package/layouts/partials/footer_links/prefix.html +0 -0
- package/layouts/partials/footer_links/suffix.html +0 -36
- package/layouts/partials/working_group_footer.html +0 -55
|
@@ -15,8 +15,8 @@ baseURL = "https://webdev.eclipse.org/docs/hugo"
|
|
|
15
15
|
keywords = ["hugo", "solstice", "eclipse foundation"]
|
|
16
16
|
# logo = "images/logo/eclipse-foundation-white.svg"
|
|
17
17
|
# favicon = "images/favicon.ico"
|
|
18
|
-
styles = "css/
|
|
19
|
-
js = "js/
|
|
18
|
+
styles = "css/neptune.css"
|
|
19
|
+
js = "js/neptune.js"
|
|
20
20
|
gcse = "011805775785170369411:p3ec0igo0qq"
|
|
21
21
|
gcse_result_url = "/search"
|
|
22
22
|
# eclipse_search_icon = "<i data-feather=\"search\" stroke-width=\"1\"></i>"
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
[[main]]
|
|
96
96
|
name = "Components"
|
|
97
97
|
url = "/components/"
|
|
98
|
-
weight =
|
|
98
|
+
weight = 1
|
|
99
99
|
identifier = "components"
|
|
100
100
|
|
|
101
101
|
[[main]]
|
|
@@ -130,17 +130,31 @@
|
|
|
130
130
|
identifier = "deprecated"
|
|
131
131
|
pre = "<i class=\"fa-solid fa-ban\" aria-hidden></i>"
|
|
132
132
|
|
|
133
|
+
[[main]]
|
|
134
|
+
name = "EclipseFdn Members List"
|
|
135
|
+
url = "/components/eclipsefdn_members_list/"
|
|
136
|
+
parent = "deprecated"
|
|
137
|
+
|
|
138
|
+
[[main]]
|
|
139
|
+
name = "EclipseFdn Projects page"
|
|
140
|
+
url = "/components/eclipsefdn_projects_page/"
|
|
141
|
+
parent = "deprecated"
|
|
142
|
+
|
|
133
143
|
[[main]]
|
|
134
144
|
name = "Meeting Minutes"
|
|
135
145
|
url = "/components/meeting_minutes/"
|
|
136
146
|
weight = 3
|
|
137
147
|
parent = "deprecated"
|
|
138
148
|
|
|
149
|
+
[[main]]
|
|
150
|
+
name = "Newsroom News"
|
|
151
|
+
url = "/components/newsroom/news/"
|
|
152
|
+
parent = "deprecated"
|
|
153
|
+
|
|
139
154
|
[[main]]
|
|
140
155
|
name = "Membership"
|
|
141
156
|
url = "/components/members/"
|
|
142
|
-
|
|
143
|
-
parent = "solstice"
|
|
157
|
+
parent = "deprecated"
|
|
144
158
|
|
|
145
159
|
[[main]]
|
|
146
160
|
name = "Taxonomy list"
|
|
@@ -178,24 +192,6 @@
|
|
|
178
192
|
weight = 3
|
|
179
193
|
parent = "solstice"
|
|
180
194
|
|
|
181
|
-
[[main]]
|
|
182
|
-
name = "Featured Story"
|
|
183
|
-
url = "/components/featured_story/"
|
|
184
|
-
weight = 3
|
|
185
|
-
parent = "solstice"
|
|
186
|
-
|
|
187
|
-
[[main]]
|
|
188
|
-
name = "EclipseFdn Projects page"
|
|
189
|
-
url = "/components/eclipsefdn_projects_page/"
|
|
190
|
-
weight = 3
|
|
191
|
-
parent = "solstice"
|
|
192
|
-
|
|
193
|
-
[[main]]
|
|
194
|
-
name = "EclipseFdn Members List"
|
|
195
|
-
url = "/components/eclipsefdn_members_list/"
|
|
196
|
-
weight = 4
|
|
197
|
-
parent = "solstice"
|
|
198
|
-
|
|
199
195
|
[[main]]
|
|
200
196
|
name = "HTML Tables"
|
|
201
197
|
url = "/components/tables/"
|
|
@@ -208,18 +204,6 @@
|
|
|
208
204
|
weight = 3
|
|
209
205
|
parent = "solstice"
|
|
210
206
|
|
|
211
|
-
[[main]]
|
|
212
|
-
name = "Twitter Timeline"
|
|
213
|
-
url = "/components/twitter_timeline/"
|
|
214
|
-
weight = 3
|
|
215
|
-
parent = "solstice"
|
|
216
|
-
|
|
217
|
-
[[main]]
|
|
218
|
-
name = "Twitter Buttons"
|
|
219
|
-
url = "/components/twitter_button/"
|
|
220
|
-
weight = 3
|
|
221
|
-
parent = "solstice"
|
|
222
|
-
|
|
223
207
|
[[main]]
|
|
224
208
|
name = "RSS Feed"
|
|
225
209
|
url = "/components/rss/"
|
|
@@ -262,18 +246,6 @@
|
|
|
262
246
|
weight = 3
|
|
263
247
|
parent = "events"
|
|
264
248
|
|
|
265
|
-
[[main]]
|
|
266
|
-
name = "Newsroom News"
|
|
267
|
-
url = "/components/newsroom/news/"
|
|
268
|
-
weight = 3
|
|
269
|
-
parent = "dynamic"
|
|
270
|
-
|
|
271
|
-
[[main]]
|
|
272
|
-
name = "Newsroom Events"
|
|
273
|
-
url = "/components/newsroom/events/"
|
|
274
|
-
weight = 3
|
|
275
|
-
parent = "dynamic"
|
|
276
|
-
|
|
277
249
|
[[main]]
|
|
278
250
|
name = "Newsroom Resources"
|
|
279
251
|
url = "/components/newsroom/resources/"
|
|
@@ -283,15 +255,34 @@
|
|
|
283
255
|
[[main]]
|
|
284
256
|
name = "News"
|
|
285
257
|
url = "/components/news/"
|
|
286
|
-
weight = 2
|
|
287
258
|
parent = "deprecated"
|
|
288
259
|
|
|
289
260
|
[[main]]
|
|
290
261
|
name = "Events"
|
|
291
262
|
url = "/components/events/"
|
|
292
|
-
weight = 3
|
|
293
263
|
parent = "deprecated"
|
|
294
264
|
|
|
265
|
+
[[main]]
|
|
266
|
+
name = "Newsroom Events"
|
|
267
|
+
url = "/components/newsroom/events/"
|
|
268
|
+
parent = "deprecated"
|
|
269
|
+
|
|
270
|
+
[[main]]
|
|
271
|
+
name = "X Timeline"
|
|
272
|
+
url = "/components/twitter_timeline/"
|
|
273
|
+
parent = "deprecated"
|
|
274
|
+
|
|
275
|
+
[[main]]
|
|
276
|
+
name = "X Buttons"
|
|
277
|
+
url = "/components/twitter_button/"
|
|
278
|
+
parent = "deprecated"
|
|
279
|
+
|
|
280
|
+
[[main]]
|
|
281
|
+
name = "Changelog"
|
|
282
|
+
url = "/changelog/"
|
|
283
|
+
weight = 3
|
|
284
|
+
identifier = "changelog"
|
|
285
|
+
|
|
295
286
|
[[sidebar]]
|
|
296
287
|
name = "Hugo Solstice Theme"
|
|
297
288
|
url = "/"
|
|
@@ -93,18 +93,7 @@ items:
|
|
|
93
93
|
values:
|
|
94
94
|
- "true"
|
|
95
95
|
ref: /components/featured_footer/
|
|
96
|
-
-
|
|
97
|
-
name: show_featured_story
|
|
98
|
-
description: Shows the featured story section at the top of the page if set to true, otherwise is ignored.
|
|
99
|
-
values:
|
|
100
|
-
- "true"
|
|
101
|
-
ref: /components/featured_story/
|
|
102
|
-
-
|
|
103
|
-
name: subtitle
|
|
104
|
-
description: Used in the jumbotron, set in a second level header under the headline. Ignored if headline is not set.
|
|
105
|
-
values:
|
|
106
|
-
- Any string value
|
|
107
|
-
-
|
|
96
|
+
-
|
|
108
97
|
name: Summary
|
|
109
98
|
description: Built in Hugo document parameter. Used in the head meta description if the Description parameter is not set.
|
|
110
99
|
values:
|
|
@@ -146,23 +135,13 @@ items:
|
|
|
146
135
|
values:
|
|
147
136
|
- Any string value
|
|
148
137
|
|
|
149
|
-
-
|
|
150
|
-
name: format_title
|
|
151
|
-
description: Formats the page title in headings and breadcrumbs to title case. If there is no value set, will default to true.
|
|
152
|
-
values:
|
|
153
|
-
- "false"
|
|
154
|
-
|
|
155
138
|
-
|
|
156
139
|
name: sidebar
|
|
157
140
|
description: Target specific menu identifiers. Used when a page or sub-section uses different sidebar content than the rest of the section it's in. Each identifier must have a corresponding "menu.sidebar" entry in the site's "config" file. If this parameter is omitted, the default sidebar for the section is used.
|
|
158
141
|
values:
|
|
159
142
|
- An array of string values
|
|
160
|
-
-
|
|
143
|
+
-
|
|
161
144
|
name: body_class
|
|
162
145
|
description: Add classes to the body element.
|
|
163
146
|
values:
|
|
164
147
|
- Any string value
|
|
165
|
-
name: format_title
|
|
166
|
-
description: Formats the page title in headings and breadcrumbs to title case. If there is no value set, will default to true.
|
|
167
|
-
values:
|
|
168
|
-
- "false"
|
|
@@ -23,13 +23,7 @@ items:
|
|
|
23
23
|
description: Description of the overall site, used in a pages meta description if no page level description is set.
|
|
24
24
|
values:
|
|
25
25
|
- Any string value
|
|
26
|
-
-
|
|
27
|
-
name: facebook_url
|
|
28
|
-
description: URL to the Facebook page for the site. If there is no value set, will default to Eclispe Foundation page.
|
|
29
|
-
deprecated: "0.1.7"
|
|
30
|
-
values:
|
|
31
|
-
- Absolute link to Facebook profile
|
|
32
|
-
-
|
|
26
|
+
-
|
|
33
27
|
name: favicon
|
|
34
28
|
description: URL to the favicon image for the site.
|
|
35
29
|
values:
|
|
@@ -54,17 +48,7 @@ items:
|
|
|
54
48
|
description: Used in the jumbotron.html layout file. Allow you to change the default value of col-md-20 col-md-offset-2 col-sm-18 col-sm-offset-3. Can be set at the site or page level.
|
|
55
49
|
values:
|
|
56
50
|
- Any string value
|
|
57
|
-
-
|
|
58
|
-
name: jumbotron_tagline_class
|
|
59
|
-
description: Used in the jumbotron.html layout file. Allow you to change the default value of col-sm-18 col-sm-offset-3. Can be set at the site or page level.
|
|
60
|
-
values:
|
|
61
|
-
- Any string value
|
|
62
|
-
-
|
|
63
|
-
name: jumbotron_btn_class
|
|
64
|
-
description: Used in the jumbotron.html layout file. Allow you to change the default value of btn btn-primary. Can be set at the site or page level.
|
|
65
|
-
values:
|
|
66
|
-
- Any string value
|
|
67
|
-
-
|
|
51
|
+
-
|
|
68
52
|
name: main_content_class
|
|
69
53
|
description: Used in the main_prefix.html layout file. Allow you to change the default value of col-md-18 padding-bottom-30 is overriten. Can be set at the site or page level.
|
|
70
54
|
values:
|
|
@@ -84,12 +68,7 @@ items:
|
|
|
84
68
|
description: Hides the CFA button site-wide.
|
|
85
69
|
value:
|
|
86
70
|
- "true"
|
|
87
|
-
-
|
|
88
|
-
name: hide_cfa_same_page
|
|
89
|
-
description: Attempt to hide CFA on the page it links to
|
|
90
|
-
values:
|
|
91
|
-
- "true"
|
|
92
|
-
-
|
|
71
|
+
-
|
|
93
72
|
name: js
|
|
94
73
|
description: URL to the main javascript to be used on the site. This does not affect any scripts added in custom sctions of the site. Defaults to <a href="https://www.eclipse.org/eclipse.org-common/themes/solstice/public/javascript/main.min.js">main.min.js</a>
|
|
95
74
|
values:
|
|
@@ -100,19 +79,7 @@ items:
|
|
|
100
79
|
values:
|
|
101
80
|
- Array of strings
|
|
102
81
|
example: '["tag1", "tag2", "tag3"]'
|
|
103
|
-
-
|
|
104
|
-
name: linkedin_url
|
|
105
|
-
description: URL to the linkedin page for the site. If there is no value set, will default to Eclispe Foundation page.
|
|
106
|
-
deprecated: "0.1.7"
|
|
107
|
-
values:
|
|
108
|
-
- Absolute link to linkedin profile
|
|
109
|
-
-
|
|
110
|
-
name: bluesky_url
|
|
111
|
-
description: URL to the Bluesky page for the site. If there is no value set, will default to Eclispe Foundation page.
|
|
112
|
-
deprecated: "0.1.7"
|
|
113
|
-
values:
|
|
114
|
-
- Absolute link to Bluesky profile
|
|
115
|
-
-
|
|
82
|
+
-
|
|
116
83
|
name: logo
|
|
117
84
|
description: URL to the logo image for the site. If there is no other image set in page or site parameters, this image is used as the sharing image for social media links.
|
|
118
85
|
values:
|
|
@@ -137,19 +104,7 @@ items:
|
|
|
137
104
|
description: URL to the stylesheet to be used on the site. This does not affect any stylesheets added in custom sctions of the site. Defaults to <a href="https://eclipse.org/eclipse.org-common/themes/solstice/public/stylesheets/quicksilver.min.css">quicksilver.min.css</a>
|
|
138
105
|
values:
|
|
139
106
|
- Absolute link or fully qualified URL to a CSS file
|
|
140
|
-
-
|
|
141
|
-
name: twitter_url
|
|
142
|
-
description: URL to the Twitter page for the site. If there is no value set, will default to Eclispe Foundation page.
|
|
143
|
-
deprecated: "0.1.7"
|
|
144
|
-
values:
|
|
145
|
-
- Absolute link to Twitter profile
|
|
146
|
-
-
|
|
147
|
-
name: youtube_url
|
|
148
|
-
description: URL to the YouTube page for the site. If there is no value set, will default to Eclispe Foundation page.
|
|
149
|
-
deprecated: "0.1.7"
|
|
150
|
-
values:
|
|
151
|
-
- Absolute link to YouTube profile
|
|
152
|
-
-
|
|
107
|
+
-
|
|
153
108
|
name: hide_breadcrumb
|
|
154
109
|
description: Hides the breadcrumb on all pages if set to true, otherwise ignored.
|
|
155
110
|
values:
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{{ define "main" }}
|
|
2
|
+
{{ $changelog_url := "https://gitlab.eclipse.org/eclipsefdn/software-dev/frameworks-and-tools/hugo-solstice-theme/-/raw/main/CHANGELOG.md?ref_type=heads" }}
|
|
3
|
+
{{ with try (resources.GetRemote $changelog_url) }}
|
|
4
|
+
{{ with .Err }}
|
|
5
|
+
{{ errorf "%s" . }}
|
|
6
|
+
{{ else with .Value }}
|
|
7
|
+
{{ $changelog := .Content }}
|
|
8
|
+
{{ $changelog | markdownify }}
|
|
9
|
+
<script>
|
|
10
|
+
document.querySelector('h1').innerText = 'Changelog';
|
|
11
|
+
document.querySelectorAll('main li').forEach(li => {
|
|
12
|
+
const commitHashPattern = /([a-f0-9]{7}):/i;
|
|
13
|
+
li.childNodes.forEach(node => {
|
|
14
|
+
if (node.nodeType === Node.TEXT_NODE) {
|
|
15
|
+
// Check if the text node contains a commit hash pattern
|
|
16
|
+
const match = node.textContent.match(commitHashPattern);
|
|
17
|
+
if (match) {
|
|
18
|
+
const hash = match[1];
|
|
19
|
+
const url = `https://gitlab.eclipse.org/eclipsefdn/software-dev/frameworks-and-tools/hugo-solstice-theme/-/commit/${hash}`;
|
|
20
|
+
|
|
21
|
+
// Create a link element
|
|
22
|
+
const a = document.createElement('a');
|
|
23
|
+
a.href = url;
|
|
24
|
+
a.target = '_blank';
|
|
25
|
+
a.rel = 'noopener noreferrer';
|
|
26
|
+
a.textContent = match[0];
|
|
27
|
+
|
|
28
|
+
// Replace the text node with the link
|
|
29
|
+
const parts = node.textContent.split(match[0]);
|
|
30
|
+
const frag = document.createDocumentFragment();
|
|
31
|
+
frag.append(parts[0], a, parts[1]);
|
|
32
|
+
|
|
33
|
+
node.replaceWith(frag);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
});
|
|
38
|
+
</script>
|
|
39
|
+
{{ else }}
|
|
40
|
+
{{ errorf "Unable to get remote resource %q" $changelog_url }}
|
|
41
|
+
{{ end }}
|
|
42
|
+
{{ end }}
|
|
43
|
+
{{ end }}
|
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
</head>
|
|
20
20
|
<body {{ with .Page.Params.body_class -}}class="{{ . }}"{{- end }}>
|
|
21
21
|
{{ block "header" . }}{{ partial "header.html" . }}{{ end }}
|
|
22
|
-
{{ block "featured_story" . }}{{ partial "featured_story.html" . }}{{ end }}
|
|
23
22
|
{{ block "main_prefix" . }}{{ partial "main_prefix.html" . }}{{ end }}
|
|
24
23
|
{{ block "main" . }}{{ .Content }}{{ end }}
|
|
25
24
|
{{ block "main_suffix" . }}{{ partial "main_suffix.html" . }}{{ end }}
|
|
@@ -1,43 +1,35 @@
|
|
|
1
|
-
|
|
2
|
-
Copyright (c)
|
|
1
|
+
<!--
|
|
2
|
+
Copyright (c) 2025 Eclipse Foundation AISBL
|
|
3
|
+
|
|
3
4
|
This program and the accompanying materials are made available under the
|
|
4
5
|
terms of the Eclipse Public License v. 2.0 which is available at
|
|
5
6
|
http://www.eclipse.org/legal/epl-2.0.
|
|
6
7
|
|
|
7
|
-
Contributors:
|
|
8
|
-
Christopher Guindon <chris.guindon@eclipse-foundation.org>
|
|
9
|
-
Olivier Goulet <olivier.goulet@eclipse-foundation.org>
|
|
10
|
-
|
|
11
8
|
SPDX-License-Identifier: EPL-2.0
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
{{ $breadcrumb_container := "" }}
|
|
9
|
+
-->
|
|
15
10
|
|
|
16
|
-
{{ if
|
|
17
|
-
|
|
11
|
+
{{ if not .Page.Params.hide_breadcrumb }}
|
|
12
|
+
<nav aria-label="Breadcrumb">
|
|
13
|
+
<div class="container">
|
|
14
|
+
<ol class="breadcrumb">
|
|
15
|
+
{{ template "breadcrumb-links" (dict "p1" . "p2" .) }}
|
|
16
|
+
</ol>
|
|
17
|
+
</div>
|
|
18
|
+
</nav>
|
|
18
19
|
{{ end }}
|
|
19
20
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
<div class="row">
|
|
23
|
-
<div class="col-sm-24">
|
|
24
|
-
<ol aria-label="Breadcrumb" class="breadcrumb">
|
|
25
|
-
{{ template "breadcrumbnav" (dict "p1" . "p2" . "site_params" $.Site.Params) }}
|
|
26
|
-
</ol>
|
|
27
|
-
{{ define "breadcrumbnav" }}
|
|
28
|
-
{{ if .p1.Parent }}
|
|
29
|
-
{{ template "breadcrumbnav" (dict "p1" .p1.Parent "p2" .p2 "site_params" .site_params) }}
|
|
30
|
-
{{ else if not .p1.IsHome }}
|
|
31
|
-
{{ template "breadcrumbnav" (dict "p1" .p1.Site.Home "p2" .p2 "site_params" .site_params) }}
|
|
32
|
-
{{ end }}
|
|
33
|
-
<li {{ if eq .p1 .p2 }} class="active" aria-current="page"{{ end }}>
|
|
34
|
-
{{ $breadcrumb_title := .p1.Params.breadcrumb_title | default .p1.Title }}
|
|
35
|
-
<a href="{{ .p1.Permalink }}">{{ if eq (.p1.Params.format_title | default .site_params.format_title) false }}{{ $breadcrumb_title | safeHTML }}{{ else }}{{ $breadcrumb_title | safeHTML | title }}{{ end }}</a>
|
|
36
|
-
</li>
|
|
37
|
-
{{ end }}
|
|
38
|
-
</div>
|
|
39
|
-
</div>
|
|
40
|
-
</div>
|
|
41
|
-
</div>
|
|
42
|
-
|
|
21
|
+
{{ define "breadcrumb-links" }}
|
|
22
|
+
{{ $max_length := 32 }}
|
|
43
23
|
|
|
24
|
+
{{ if .p1.Parent }}
|
|
25
|
+
{{ template "breadcrumb-links" (dict "p1" .p1.Parent "p2" .p2 ) }}
|
|
26
|
+
{{ else if not .p1.IsHome }}
|
|
27
|
+
{{ template "breadcrumb-links" (dict "p1" .p1.Site.Home "p2" .p2 ) }}
|
|
28
|
+
{{ end }}
|
|
29
|
+
{{ $is_current_page := eq .p1.Permalink .p2.Permalink }}
|
|
30
|
+
{{ if $is_current_page }}
|
|
31
|
+
<li class="active">{{ (.p1.Params.breadcrumb_title | default .p1.Title) | safeHTML | truncate $max_length }}</li>
|
|
32
|
+
{{ else }}
|
|
33
|
+
<li><a href="{{ .p1.Permalink }}">{{ (.p1.Params.breadcrumb_title | default .p1.Title) | safeHTML | truncate $max_length }}</a></li>
|
|
34
|
+
{{ end }}
|
|
35
|
+
{{ end }}
|
|
@@ -6,4 +6,10 @@
|
|
|
6
6
|
publishtarget="{{ $publish_target }}"
|
|
7
7
|
type="popup"
|
|
8
8
|
></efsc-featured-story-popup>
|
|
9
|
+
<style>
|
|
10
|
+
:root {
|
|
11
|
+
/* Due to neptune's footer arch we need to add an offset so that the popup doesn't feels just cropped */
|
|
12
|
+
--efsc-popup-bottom-offset: 18rem;
|
|
13
|
+
}
|
|
14
|
+
</style>
|
|
9
15
|
{{ end }}
|
|
@@ -1,32 +1,73 @@
|
|
|
1
|
-
|
|
2
|
-
Copyright (c)
|
|
1
|
+
<!--
|
|
2
|
+
Copyright (c) 2025 Eclipse Foundation AISBL
|
|
3
|
+
|
|
3
4
|
This program and the accompanying materials are made available under the
|
|
4
5
|
terms of the Eclipse Public License v. 2.0 which is available at
|
|
5
6
|
http://www.eclipse.org/legal/epl-2.0.
|
|
6
7
|
|
|
7
|
-
Contributors:
|
|
8
|
-
Olivier Goulet <olivier.goulet@eclipse-foundation.org>
|
|
9
|
-
|
|
10
8
|
SPDX-License-Identifier: EPL-2.0
|
|
11
|
-
|
|
9
|
+
-->
|
|
12
10
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
</p>
|
|
16
|
-
<footer class="footer" id="footer">
|
|
11
|
+
{{ $footer_class := .Page.Params.footer_class }}
|
|
12
|
+
<footer class="footer {{- with $footer_class }} {{ . }}{{ end }}">
|
|
17
13
|
<div class="container">
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
{{
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
14
|
+
<div class="footer-inner">
|
|
15
|
+
<section class="links-section">
|
|
16
|
+
{{ range $.Site.Menus.footer }}
|
|
17
|
+
<ul>
|
|
18
|
+
<li>{{ .Name }}</li>
|
|
19
|
+
<li>
|
|
20
|
+
<ul>
|
|
21
|
+
{{ range .Children }}
|
|
22
|
+
<li>
|
|
23
|
+
{{ if .URL }}
|
|
24
|
+
<a href="{{ .URL }}" {{ with .Params.class -}} class="{{ . }}" {{- end }}>{{ .Name }}</a>
|
|
25
|
+
{{ else }}
|
|
26
|
+
<button type="button" class="btn btn-link {{ with .Params.class -}} {{ . }} {{- end }}">{{ .Name }}</button>
|
|
27
|
+
{{ end }}
|
|
28
|
+
</li>
|
|
29
|
+
{{ end }}
|
|
30
|
+
</ul>
|
|
31
|
+
</li>
|
|
32
|
+
</ul>
|
|
33
|
+
{{ end }}
|
|
34
|
+
</section>
|
|
35
|
+
<section class="social-media-section">
|
|
36
|
+
<p class="subheading text-tertiary">See what we're up to</p>
|
|
37
|
+
{{ partial "socials.html" . }}
|
|
38
|
+
</section>
|
|
39
|
+
<section class="newsletter-section">
|
|
40
|
+
<p class="subheading text-tertiary">Stay up to date</p>
|
|
41
|
+
<h2>Subscribe to our newsletter</h2>
|
|
42
|
+
<form
|
|
43
|
+
class="newsletter-form margin-top-40"
|
|
44
|
+
id="mc-embedded-subscribe-form"
|
|
45
|
+
action="https://eclipse.us6.list-manage.com/subscribe/post?u=eaf9e1f06f194eadc66788a85&id=e7538485cd&f_id=00f9c2e1f0"
|
|
46
|
+
method="post"
|
|
47
|
+
novalidate
|
|
48
|
+
target="_blank"
|
|
49
|
+
>
|
|
50
|
+
<div class="text-field-outlined">
|
|
51
|
+
<input name="EMAIL" type="email" placeholder="Your email">
|
|
52
|
+
<button class="newsletter-form-submit" type="submit" name="subscribe" id="mc-embedded-subscribe" aria-label="Submit">
|
|
53
|
+
<i class="fa-solid fa-arrow-right" aria-hidden="true"></i>
|
|
54
|
+
</button>
|
|
24
55
|
</div>
|
|
56
|
+
</form>
|
|
57
|
+
</section>
|
|
58
|
+
<section class="footer-bottom-section">
|
|
59
|
+
<img class="img-responsive logo" src="https://www.eclipse.org/eclipse.org-common/themes/solstice/public/images/logo/eclipse-foundation-white.svg" alt="Eclipse Foundation">
|
|
60
|
+
<div class="legal-information">
|
|
61
|
+
<p>Copyright © Eclipse Foundation AISBL. All rights reserved.</p>
|
|
62
|
+
<ul class="legal-links">
|
|
63
|
+
<li><a href="https://www.eclipse.org/legal/privacy/">Privacy policy</a></li>
|
|
64
|
+
<li><a href="https://www.eclipse.org/legal/terms-of-use/">Terms of use</a></li>
|
|
65
|
+
<li><a href="https://www.eclipse.org/legal/compliance/">Compliance</a></li>
|
|
66
|
+
<li><a href="https://www.eclipse.org/legal/">Legal</a></li>
|
|
67
|
+
</ul>
|
|
25
68
|
</div>
|
|
26
|
-
|
|
69
|
+
</section>
|
|
27
70
|
</div>
|
|
28
|
-
{{ partial "footer_links/footer-copyright.html" . }}
|
|
29
|
-
<a href="#" class="scrollup">{{ i18n "navigation-back-to-top" }}</a>
|
|
30
71
|
</div>
|
|
31
72
|
</footer>
|
|
32
73
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<div id="footer-js">
|
|
2
2
|
<!-- Placed at the end of the document so the pages load faster -->
|
|
3
|
-
{{- $default_js := "https://www.eclipse.org/
|
|
3
|
+
{{- $default_js := "https://www.eclipse.org/public/js/neptune/main.js" -}}
|
|
4
4
|
{{- with .Site.Params.js | default $default_js }}
|
|
5
5
|
<script src="{{ . | relURL }}?v={{ now.Unix }}"></script>
|
|
6
6
|
{{ end }}
|
|
@@ -75,16 +75,16 @@
|
|
|
75
75
|
<link rel="alternate" href="{{ .RelPermalink }}" type="application/rss+xml" title="">
|
|
76
76
|
{{ end }}
|
|
77
77
|
{{ if ne .Page.Params.disable_css "true" }}
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
78
|
+
{{- $default_css := "https://www.eclipse.org/public/css/neptune.css" -}}
|
|
79
|
+
{{- with .Site.Params.styles | default $default_css }}
|
|
80
|
+
<link rel="stylesheet" href="{{ . | relURL }}?v={{ now.Unix }}">
|
|
81
|
+
{{- end }}
|
|
82
|
+
{{- with .Site.Params.style_overrides }}
|
|
83
|
+
<link rel="stylesheet" href="{{ . | relURL }}?v={{ now.Unix }}">
|
|
84
|
+
{{- end }}
|
|
85
|
+
{{- with .Page.Params.page_css_file }}
|
|
86
|
+
<link rel="stylesheet" href="{{ . | relURL }}?v={{ now.Unix }}">
|
|
87
|
+
{{- end }}
|
|
88
88
|
{{- end }}
|
|
89
89
|
{{- partial "google_tag_manager.html" . }}
|
|
90
90
|
{{- partial "head_variables.html" . }}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
Copyright (c)
|
|
1
|
+
<!--
|
|
2
|
+
Copyright (c) 2025 Eclipse Foundation AISBL
|
|
3
3
|
|
|
4
4
|
This program and the accompanying materials are made available under the
|
|
5
5
|
terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
6
|
http://www.eclipse.org/legal/epl-2.0.
|
|
7
7
|
|
|
8
|
-
Contributors:
|
|
9
|
-
Olivier Goulet <olivier.goulet@eclipse-foundation.org>
|
|
10
|
-
|
|
11
8
|
SPDX-License-Identifier: EPL-2.0
|
|
12
|
-
|
|
9
|
+
-->
|
|
13
10
|
|
|
14
11
|
{{ $header_wrapper_class := .Params.header_wrapper_class | default .Site.Params.header_wrapper_class }}
|
|
15
12
|
|
|
16
13
|
{{ partial "google_tag_manager_no_script.html" . }}
|
|
17
|
-
<a
|
|
14
|
+
<a href="#main" class="skip-link">Skip to content</a>
|
|
15
|
+
{{ if or (ne .Page.Params.hide_featured_story_banner true) (ne $.Site.Params.hide_featured_story_banner) }}
|
|
16
|
+
{{ $publish_target := .Page.Params.featured_content_publish_target | default .Site.Params.featured_content_publish_target | default "eclipse_org" }}
|
|
17
|
+
<div class="eclipsefdn-featured-story-banner" data-publish-target="{{ $publish_target }}"></div>
|
|
18
|
+
{{ end }}
|
|
18
19
|
<header class="header-wrapper {{ $header_wrapper_class }}" id="header">
|
|
19
20
|
{{ partial "toolbar.html" . }}
|
|
20
21
|
{{ partial "navbar.html" . }}
|
|
21
22
|
{{ partial "mobile_menu.html" . }}
|
|
22
23
|
{{ partial "mega_menu.html" . }}
|
|
23
|
-
{{ partial "jumbotron.html" . }}
|
|
24
24
|
</header>
|