eclipsefdn-hugo-solstice-theme 0.0.207 → 0.0.209

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/config.toml ADDED
@@ -0,0 +1,437 @@
1
+ # This is the default menus configuration for all websites consuming the theme.
2
+ # It will be discarded if menus.main is defined at the site-level.
3
+
4
+ [menus]
5
+ _merge = "shallow"
6
+
7
+ # Astro Menu
8
+
9
+ [[menus.astro]]
10
+ name = "Projects"
11
+ weight = 1
12
+ identifier = "projects"
13
+ [menus.astro.params]
14
+ description = """
15
+ The Eclipse Foundation is home to the Eclipse IDE, Jakarta EE, and
16
+ hundreds of open source projects, including runtimes, tools,
17
+ specifications, and frameworks for cloud and edge applications, IoT, AI,
18
+ automotive, systems engineering, open processor designs, and many others.
19
+ """
20
+
21
+
22
+ [[menus.astro]]
23
+ name = "Technologies"
24
+ weight = 1
25
+ identifier = "projects-technologies"
26
+ parent = "projects"
27
+
28
+ [[menus.astro]]
29
+ name = "Developer Tools & IDEs"
30
+ url = "https://www.eclipse.org/topics/ide/"
31
+ weight = 1
32
+ parent = "projects-technologies"
33
+
34
+ [[menus.astro]]
35
+ name = "Cloud Native"
36
+ url = "https://www.eclipse.org/topics/cloud-native/"
37
+ weight = 2
38
+ parent = "projects-technologies"
39
+
40
+ [[menus.astro]]
41
+ name = "Edge & IoT"
42
+ url = "https://www.eclipse.org/topics/edge-and-iot"
43
+ weight = 3
44
+ parent = "projects-technologies"
45
+
46
+ [[menus.astro]]
47
+ name = "Automotive & Mobility"
48
+ url = "https://www.eclipse.org/topics/automotive-and-mobility/"
49
+ weight = 4
50
+ parent = "projects-technologies"
51
+
52
+ [[menus.astro]]
53
+ name = "Projects"
54
+ weight = 2
55
+ identifier = "projects-projects"
56
+ parent = "projects"
57
+
58
+ [[menus.astro]]
59
+ name = "Project Finder"
60
+ url = "https://projects.eclipse.org/"
61
+ weight = 1
62
+ parent = "projects-projects"
63
+
64
+ [[menus.astro]]
65
+ name = "Project Activity"
66
+ url = "https://www.eclipse.org/projects/project_activity.php"
67
+ weight = 2
68
+ parent = "projects-projects"
69
+
70
+ [[menus.astro]]
71
+ name = "Project Resources"
72
+ url = "https://www.eclipse.org/projects/resources"
73
+ weight = 3
74
+ parent = "projects-projects"
75
+
76
+ [[menus.astro]]
77
+ name = "Specifications"
78
+ url = "https://www.eclipse.org/specifications"
79
+ weight = 4
80
+ parent = "projects-projects"
81
+
82
+ [[menus.astro]]
83
+ name = "Contribute"
84
+ url = "https://www.eclipse.org/contribute/"
85
+ weight = 5
86
+ parent = "projects-projects"
87
+
88
+ [[menus.astro]]
89
+ name = "Supporters"
90
+ weight = 2
91
+ identifier = "supporters"
92
+ [menus.astro.params]
93
+ description = """
94
+ The Eclipse Foundation is an international non-profit association
95
+ supported by our members, including industry leaders who value open
96
+ source as a key enabler for their business strategies.
97
+ """
98
+
99
+ [[menus.astro]]
100
+ name = "Membership"
101
+ weight = 1
102
+ identifier = "supporters-membership"
103
+ parent = "supporters"
104
+
105
+ [[menus.astro]]
106
+ name = "Our Members"
107
+ url = "https://www.eclipse.org/membership/explore-membership/"
108
+ weight = 1
109
+ parent = "supporters-membership"
110
+
111
+ [[menus.astro]]
112
+ name = "Member Benefits"
113
+ url = "https://www.eclipse.org/membership/"
114
+ weight = 2
115
+ parent = "supporters-membership"
116
+
117
+ [[menus.astro]]
118
+ name = "Membership Levels & Fees"
119
+ url = "https://www.eclipse.org/membership/#tab-levels"
120
+ weight = 3
121
+ parent = "supporters-membership"
122
+
123
+ [[menus.astro]]
124
+ name = "Membership Application"
125
+ url = "https://www.eclipse.org/membership/#tab-membership"
126
+ weight = 4
127
+ parent = "supporters-membership"
128
+
129
+ [[menus.astro]]
130
+ name = "Member Resources"
131
+ url = "https://www.eclipse.org/membership/#tab-resources"
132
+ weight = 5
133
+ parent = "supporters-membership"
134
+
135
+ [[menus.astro]]
136
+ name = "Member Portal"
137
+ url = "https://membership.eclipse.org/portal"
138
+ weight = 6
139
+ parent = "supporters-membership"
140
+
141
+ [[menus.astro]]
142
+ name = "Sponsorship"
143
+ weight = 1
144
+ identifier = "supporters-sponsorship"
145
+ parent = "supporters"
146
+
147
+ [[menus.astro]]
148
+ name = "Sponsor"
149
+ url = "https://www.eclipse.org/sponsor/"
150
+ weight = 1
151
+ parent = "supporters-sponsorship"
152
+
153
+ [[menus.astro]]
154
+ name = "Corporate Sponsorship"
155
+ url = "https://www.eclipse.org/org/corporate_sponsors"
156
+ weight = 2
157
+ parent = "supporters-sponsorship"
158
+
159
+ [[menus.astro]]
160
+ name = "Sponsor a Collaboration"
161
+ url = "https://www.eclipse.org/sponsor/collaboration/"
162
+ weight = 3
163
+ parent = "supporters-sponsorship"
164
+
165
+ [[menus.astro]]
166
+ name = "Collaborations"
167
+ weight = 3
168
+ identifier = "collaborations"
169
+ [menus.astro.params]
170
+ description = """
171
+ Whether you intend on contributing to Eclipse technologies that are
172
+ important to your product strategy, or simply want to explore a specific
173
+ innovation area with like-minded organisations, the Eclipse Foundation is
174
+ the open source home for industry collaboration.
175
+ """
176
+
177
+ [[menus.astro]]
178
+ name = "Industry Collaborations"
179
+ weight = 1
180
+ parent = "collaborations"
181
+ identifier = "collaborations-industry-collaborations"
182
+
183
+ [[menus.astro]]
184
+ name = "About Industry Collaborations"
185
+ url = "https://www.eclipse.org/collaborations/"
186
+ weight = 1
187
+ parent = "collaborations-industry-collaborations"
188
+
189
+ [[menus.astro]]
190
+ name = "Current Collaborations"
191
+ url = "https://www.eclipse.org/org/workinggroups/explore.php"
192
+ weight = 2
193
+ parent = "collaborations-industry-collaborations"
194
+
195
+ [[menus.astro]]
196
+ name = "About Working Groups"
197
+ url = "https://www.eclipse.org/org/workinggroups/about.php"
198
+ weight = 3
199
+ parent = "collaborations-industry-collaborations"
200
+
201
+ [[menus.astro]]
202
+ name = "About Interest Groups"
203
+ url = "https://www.eclipse.org/collaborations/interest-groups/"
204
+ weight = 4
205
+ parent = "collaborations-industry-collaborations"
206
+
207
+ [[menus.astro]]
208
+ name = "Research Collaborations"
209
+ identifier = "collaborations-research-collaborations"
210
+ weight = 2
211
+ parent = "collaborations"
212
+
213
+ [[menus.astro]]
214
+ name = "Research @ Eclipse"
215
+ url = "https://www.eclipse.org/research/"
216
+ weight = 1
217
+ parent="collaborations-research-collaborations"
218
+
219
+ [[menus.astro]]
220
+ name = "Resources"
221
+ weight = 4
222
+ identifier = "resources"
223
+ [menus.astro.params]
224
+ description = """
225
+ The Eclipse community consists of individual developers and organisations
226
+ spanning many industries. Stay up to date on our open source community
227
+ and find resources to support your journey.
228
+ """
229
+
230
+ [[menus.astro]]
231
+ name = "Open Source for Business"
232
+ weight = 1
233
+ parent = "resources"
234
+ identifier = "resources-open-source"
235
+
236
+ [[menus.astro]]
237
+ name = "Business Value of Open Source"
238
+ url = "https://www.eclipse.org/org/value/"
239
+ weight = 1
240
+ parent = "resources-open-source"
241
+
242
+ [[menus.astro]]
243
+ name = "Open Source Program Offices"
244
+ url = "https://www.eclipse.org/os4biz/ospo/"
245
+ weight = 2
246
+ parent = "resources-open-source"
247
+
248
+ [[menus.astro]]
249
+ name = "What's Happening"
250
+ weight = 2
251
+ parent = "resources"
252
+ identifier = "resources-happening"
253
+
254
+ [[menus.astro]]
255
+ name = "News"
256
+ url = "https://newsroom.eclipse.org/"
257
+ weight = 1
258
+ parent = "resources-happening"
259
+
260
+ [[menus.astro]]
261
+ name = "Events"
262
+ url = "https://events.eclipse.org/"
263
+ weight = 2
264
+ parent = "resources-happening"
265
+
266
+ [[menus.astro]]
267
+ name = "Newsletter"
268
+ url = "https://www.eclipse.org/community/eclipse_newsletter/"
269
+ weight = 3
270
+ parent = "resources-happening"
271
+
272
+ [[menus.astro]]
273
+ name = "Press Releases"
274
+ url = "https://newsroom.eclipse.org/news/press-releases"
275
+ weight = 4
276
+ parent = "resources-happening"
277
+
278
+ [[menus.astro]]
279
+ name = "Awards & Recognition"
280
+ url = "https://www.eclipse.org/org/foundation/eclipseawards/"
281
+ weight = 5
282
+ parent = "resources-happening"
283
+
284
+ [[menus.astro]]
285
+ name = "Developer Resources"
286
+ weight = 3
287
+ parent = "resources"
288
+ identifier = "resources-developer"
289
+
290
+ [[menus.astro]]
291
+ name = "Forum"
292
+ url = "https://eclipse.org/forums/"
293
+ weight = 1
294
+ parent = "resources-developer"
295
+
296
+ [[menus.astro]]
297
+ name = "Mailing Lists"
298
+ url = "https://accounts.eclipse.org/mailing-list"
299
+ weight = 2
300
+ parent = "resources-developer"
301
+
302
+ [[menus.astro]]
303
+ name = "Blogs & Videos"
304
+ url = "https://www.eclipse.org/blogs-and-videos/"
305
+ weight = 3
306
+ parent = "resources-developer"
307
+
308
+ [[menus.astro]]
309
+ name = "Marketplaces"
310
+ url = "https://www.eclipse.org/resources/marketplaces/"
311
+ weight = 4
312
+ parent = "resources-developer"
313
+
314
+ [[menus.astro]]
315
+ name = "The Foundation"
316
+ weight = 5
317
+ identifier = "the-foundation"
318
+ [menus.astro.params]
319
+ description = """
320
+ The Eclipse Foundation provides our global community of individuals and
321
+ organisations with a mature, scalable, and vendor-neutral environment for
322
+ open source software collaboration and innovation.
323
+ """
324
+
325
+ [[menus.astro]]
326
+ name = "About"
327
+ weight = 1
328
+ identifier = "the-foundation-about"
329
+ parent = "the-foundation"
330
+
331
+ [[menus.astro]]
332
+ name = "About the Eclipse Foundation"
333
+ url = "https://www.eclipse.org/org/"
334
+ weight = 1
335
+ parent="the-foundation-about"
336
+
337
+ [[menus.astro]]
338
+ name = "Board & Governance"
339
+ url = "https://www.eclipse.org/org/governance"
340
+ weight = 2
341
+ parent="the-foundation-about"
342
+
343
+ [[menus.astro]]
344
+ name = "Staff"
345
+ url = "https://www.eclipse.org/org/foundation/staff.php"
346
+ weight = 3
347
+ parent="the-foundation-about"
348
+
349
+ [[menus.astro]]
350
+ name = "Services"
351
+ url = "https://www.eclipse.org/org/services"
352
+ weight = 4
353
+ parent="the-foundation-about"
354
+
355
+ [[menus.astro]]
356
+ name = "Legal"
357
+ weight = 2
358
+ identifier = "the-foundation-legal"
359
+ parent = "the-foundation"
360
+
361
+ [[menus.astro]]
362
+ name = "Legal Policies"
363
+ url = "https://www.eclipse.org/legal/"
364
+ weight = 1
365
+ parent="the-foundation-legal"
366
+
367
+ [[menus.astro]]
368
+ name = "Privacy Policy"
369
+ url = "https://www.eclipse.org/legal/privacy.php"
370
+ weight = 2
371
+ parent="the-foundation-legal"
372
+
373
+ [[menus.astro]]
374
+ name = "Terms of Use"
375
+ url = "https://www.eclipse.org/legal/termsofuse.php"
376
+ weight = 3
377
+ parent="the-foundation-legal"
378
+
379
+ [[menus.astro]]
380
+ name = "Compliance"
381
+ url = "https://www.eclipse.org/legal/compliance"
382
+ weight = 4
383
+ parent="the-foundation-legal"
384
+
385
+ [[menus.astro]]
386
+ name = "Eclipse Public License"
387
+ url = "https://www.eclipse.org/legal/epl-2.0/"
388
+ weight = 5
389
+ parent="the-foundation-legal"
390
+
391
+ [[menus.astro]]
392
+ name = "More"
393
+ weight = 3
394
+ identifier = "the-foundation-more"
395
+ parent = "the-foundation"
396
+
397
+ [[menus.astro]]
398
+ name = "Press Releases "
399
+ url = "https://newsroom.eclipse.org/news/press-releases"
400
+ weight = 1
401
+ parent="the-foundation-more"
402
+
403
+ [[menus.astro]]
404
+ name = "Careers"
405
+ url = "https://www.eclipse.org/careers/"
406
+ weight = 2
407
+ parent="the-foundation-more"
408
+
409
+ [[menus.astro]]
410
+ name = "Logos & Artwork"
411
+ url = "https://www.eclipse.org/org/artwork/"
412
+ weight = 3
413
+ parent="the-foundation-more"
414
+
415
+ [[menus.astro]]
416
+ name = "Contact Us"
417
+ url = "https://www.eclipse.org/org/foundation/contact.php"
418
+ weight = 4
419
+ parent="the-foundation-more"
420
+
421
+ # Quicksilver Menu
422
+
423
+ [[menus.quicksilver]]
424
+ name = "Projects"
425
+ url = "https://www.eclipse.org/projects/"
426
+ weight = 1
427
+
428
+ [[menus.quicksilver]]
429
+ name = "Working Groups"
430
+ url = "https://www.eclipse.org/org/workinggroups/"
431
+ weight = 2
432
+
433
+ [[menus.quicksilver]]
434
+ name = "Members"
435
+ url = "https://www.eclipse.org/membership/"
436
+ weight = 2
437
+
@@ -11,7 +11,7 @@
11
11
  SPDX-License-Identifier: EPL-2.0
12
12
  */}}
13
13
 
14
- {{ $main_menu := .Page.Params.main_menu | default "main" }}
14
+ {{ $main_menu := .Scratch.Get "main_menu" }}
15
15
 
16
16
  {{ $current_page := . }}
17
17
  {{ $hide_ad := $.Site.Params.hide_ad | default true }}
@@ -11,8 +11,7 @@
11
11
  SPDX-License-Identifier: EPL-2.0
12
12
  */}}
13
13
 
14
- {{ $main_menu := .Page.Params.main_menu | default "main" }}
15
-
14
+ {{ $main_menu := .Scratch.Get "main_menu" }}
16
15
  {{ $current_page := . }}
17
16
 
18
17
  <nav class="mobile-menu hidden" aria-expanded="false">
@@ -11,8 +11,7 @@
11
11
  SPDX-License-Identifier: EPL-2.0
12
12
  */}}
13
13
 
14
- {{ $main_menu := .Page.Params.main_menu | default "main" }}
15
-
14
+ {{ $main_menu := .Scratch.Get "main_menu" }}
16
15
  {{ $current_page := . }}
17
16
 
18
17
  <nav class="header-navbar-nav">
@@ -12,6 +12,16 @@
12
12
  SPDX-License-Identifier: EPL-2.0
13
13
  */}}
14
14
 
15
+ {{ if .Page.Params.main_menu }}
16
+ {{ .Scratch.Set "main_menu" .Page.Params.main_menu }}
17
+ {{ else if (index .Site.Menus "main") }}
18
+ {{ .Scratch.Set "main_menu" "main" }}
19
+ {{ else if (eq .Site.Params.layout_style "astro") }}
20
+ {{ .Scratch.Set "main_menu" "astro" }}
21
+ {{ else }}
22
+ {{ .Scratch.Set "main_menu" "quicksilver" }}
23
+ {{ end }}
24
+
15
25
  {{ $layout_style := $.Site.Params.layout_style | default "quicksilver" }}
16
26
 
17
27
  {{ partial (printf "%s/nav.html" $layout_style) . }}
@@ -12,7 +12,7 @@
12
12
  SPDX-License-Identifier: EPL-2.0
13
13
  */}}
14
14
 
15
- {{ $main_menu := .Page.Params.main_menu | default "main" }}
15
+ {{ $main_menu := .Scratch.Get "main_menu" }}
16
16
 
17
17
  {{ $currentNode := . }}
18
18
  {{ range (index .Site.Menus $main_menu) }}
@@ -29,14 +29,15 @@
29
29
  {{ $subpageURL := "" }}
30
30
  {{ if $subpage }}
31
31
  {{ if and $year $subpage (ne $event "default") }}
32
- {{ $subpageURL = printf "/%s/%s/%s" $year $event $subpage }}
32
+ {{ $subpageURL = printf "%s/%s/%s" $year $event $subpage }}
33
33
  {{ else if and $year $subpage }}
34
- {{ $subpageURL = printf "/%s/%s" $year $subpage }}
34
+ {{ $subpageURL = printf "%s/%s" $year $subpage }}
35
35
  {{ else if and $subpage (ne $event "default") }}
36
- {{ $subpageURL = printf "/%s/%s" $event $subpage }}
36
+ {{ $subpageURL = printf "%s/%s" $event $subpage }}
37
37
  {{ else }}
38
- {{ $subpageURL = printf "/%s" $subpage }}
38
+ {{ $subpageURL = printf "%s" $subpage }}
39
39
  {{ end }}
40
+ {{ $subpageURL = $subpageURL | relURL }}
40
41
  {{ else }}
41
42
  {{ $displayLearnMore = "false" }}
42
43
  {{ end }}
@@ -89,4 +90,4 @@
89
90
  <!-- End: "image" Area -->
90
91
  </div>
91
92
  </div>
92
- </div>
93
+ </div>
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.207",
7
+ "version": "0.0.209",
8
8
  "bugs": {
9
9
  "url": "https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme/-/issues"
10
10
  },
Binary file
Binary file
Binary file