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
|
@@ -1,82 +1,69 @@
|
|
|
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
|
{{ if .Page.Params.main_menu }}
|
|
15
12
|
{{ .Scratch.Set "main_menu" .Page.Params.main_menu }}
|
|
16
13
|
{{ else if (index .Site.Menus "main") }}
|
|
17
14
|
{{ .Scratch.Set "main_menu" "main" }}
|
|
18
15
|
{{ else }}
|
|
19
|
-
{{ .Scratch.Set "main_menu" "
|
|
16
|
+
{{ .Scratch.Set "main_menu" "neptune" }}
|
|
20
17
|
{{ end }}
|
|
21
18
|
|
|
19
|
+
|
|
22
20
|
{{ $main_menu := .Scratch.Get "main_menu" }}
|
|
23
21
|
{{ $current_page := . }}
|
|
24
22
|
|
|
25
|
-
<nav class="
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
23
|
+
<nav class="navigation-bar-nav hidden-xs hidden-sm">
|
|
24
|
+
<ul>
|
|
25
|
+
{{ range (index .Site.Menus $main_menu) }}
|
|
26
|
+
{{ $menu_id := .Identifier | default (lower .Name) }}
|
|
27
|
+
{{ $target_menu := printf "%s-menu" $menu_id }}
|
|
28
|
+
{{ $active_class := "" }}
|
|
29
|
+
{{ $menu_type := "link" }}
|
|
32
30
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
{{/* If the menu has children, we will show a dropdown */}}
|
|
38
|
-
{{ if .HasChildren }}
|
|
39
|
-
{{ $menu_type = "dropdown" }}
|
|
40
|
-
{{ end }}
|
|
31
|
+
{{ if $current_page.IsMenuCurrent $main_menu . }}
|
|
32
|
+
{{ $active_class = "active" }}
|
|
33
|
+
{{ end }}
|
|
41
34
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
{{ end }}
|
|
47
|
-
{{ end }}
|
|
35
|
+
{{/* If the menu has children, we will show a dropdown */}}
|
|
36
|
+
{{ if .HasChildren }}
|
|
37
|
+
{{ $menu_type = "dropdown" }}
|
|
38
|
+
{{ end }}
|
|
48
39
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
<div class="dropdown">
|
|
54
|
-
<button class="btn-link link-unstyled" id="{{ $menu_id }}" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
|
55
|
-
{{ .Name }}
|
|
56
|
-
<i class="fa fa-caret-down" aria-hidden="true"></i>
|
|
57
|
-
</button>
|
|
58
|
-
<ul class="dropdown-menu" aria-labelledby="{{ $menu_id }}">
|
|
59
|
-
{{ range .Children }}
|
|
60
|
-
<li>
|
|
61
|
-
<a class="link-unstyled" href="{{ .URL }}" {{ with .Params.target -}} target="{{ . | safeHTMLAttr }}" {{- end }}>
|
|
62
|
-
{{ .Name }}
|
|
63
|
-
{{ with .Params.external }}<i class="external-icon fa-solid fa-arrow-up-right-from-square" aria-hidden="true"></i>{{ end }}
|
|
64
|
-
</a>
|
|
65
|
-
</li>
|
|
66
|
-
{{ end }}
|
|
67
|
-
</ul>
|
|
68
|
-
</div>
|
|
69
|
-
{{ else }}
|
|
70
|
-
<button
|
|
71
|
-
class="nav-link-js btn-link link-unstyled"
|
|
72
|
-
type="button"
|
|
73
|
-
aria-expanded="true"
|
|
74
|
-
data-menu-target="{{ $target_menu }}"
|
|
75
|
-
>
|
|
76
|
-
{{ .Name }}
|
|
77
|
-
</button>
|
|
78
|
-
{{ end }}
|
|
79
|
-
</li>
|
|
40
|
+
{{/* Unless if any of the menus are 3-levels deep then we will show a mega menu. */}}
|
|
41
|
+
{{ range .Children }}
|
|
42
|
+
{{ if .HasChildren }}
|
|
43
|
+
{{ $menu_type = "mega" }}
|
|
80
44
|
{{ end }}
|
|
81
|
-
|
|
45
|
+
{{ end }}
|
|
46
|
+
|
|
47
|
+
{{ if eq $menu_type "link" }}
|
|
48
|
+
<li>
|
|
49
|
+
<a href="{{ .URL }}">{{ .Name }}</a>
|
|
50
|
+
</li>
|
|
51
|
+
{{ else if eq $menu_type "dropdown" }}
|
|
52
|
+
<li class="dropdown">
|
|
53
|
+
<button
|
|
54
|
+
class="dropdown-toggle btn btn-link"
|
|
55
|
+
data-toggle="dropdown"
|
|
56
|
+
aria-haspopup="true"
|
|
57
|
+
aria-expanded="false"
|
|
58
|
+
>
|
|
59
|
+
{{ .Name }}
|
|
60
|
+
</button>
|
|
61
|
+
</li>
|
|
62
|
+
{{ else if eq $menu_type "mega" }}
|
|
63
|
+
<li>
|
|
64
|
+
<button type="button" class="btn btn-link" data-target="{{ $target_menu }}">{{ .Name }}</button>
|
|
65
|
+
</li>
|
|
66
|
+
{{ end }}
|
|
67
|
+
{{ end }}
|
|
68
|
+
</ul>
|
|
82
69
|
</nav>
|
|
@@ -1,17 +1,14 @@
|
|
|
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
|
-
{{ $logo := .Site.Params.logo | default "https://www.eclipse.org/eclipse.org-common/themes/solstice/public/images/logo/eclipse-foundation-
|
|
11
|
+
{{ $logo := .Site.Params.logo | default "https://www.eclipse.org/eclipse.org-common/themes/solstice/public/images/logo/eclipse-foundation-white-orange.svg" }}
|
|
15
12
|
{{ $logo_width := .Site.Params.logo_width | default "150" }}
|
|
16
13
|
{{ $logo_title := .Site.Params.logo_title | default $.Site.Title }}
|
|
17
14
|
|
|
@@ -22,30 +19,112 @@
|
|
|
22
19
|
|
|
23
20
|
{{ $hide_cfa := .Site.Params.hide_call_for_action | default .Page.Params.hide_call_for_action | default false }}
|
|
24
21
|
|
|
25
|
-
<div class="
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
{{
|
|
34
|
-
|
|
35
|
-
|
|
22
|
+
<div class="navigation-bar dark">
|
|
23
|
+
<div class="container">
|
|
24
|
+
<div class="navigation-bar-inner">
|
|
25
|
+
<div class="navigation-bar-left">
|
|
26
|
+
<a class="focus-highlight focus-inverse" href="/">
|
|
27
|
+
<img
|
|
28
|
+
class="navigation-bar-brand"
|
|
29
|
+
src="{{ $logo }}"
|
|
30
|
+
alt="{{ $logo_title }}"
|
|
31
|
+
/>
|
|
32
|
+
</a>
|
|
33
|
+
</div>
|
|
34
|
+
{{ partial "nav.html" . }}
|
|
35
|
+
<div class="navigation-bar-right">
|
|
36
|
+
<!-- Navbar controls -->
|
|
37
|
+
<div class="navigation-bar-controls hidden-xs hidden-sm">
|
|
38
|
+
<ul>
|
|
39
|
+
<li class="dropdown">
|
|
40
|
+
<a
|
|
41
|
+
class="dropdown-toggle link-unstyled focus-highlight"
|
|
42
|
+
tabindex="0"
|
|
43
|
+
id="search-dropdown-toggle"
|
|
44
|
+
data-toggle="dropdown"
|
|
45
|
+
href="#"
|
|
46
|
+
aria-label="Search"
|
|
47
|
+
>
|
|
48
|
+
<i class="fa-solid fa-magnifying-glass" aria-hidden="true"></i>
|
|
49
|
+
</a>
|
|
50
|
+
<form
|
|
51
|
+
class="search-bar dropdown-menu dropdown-menu-right"
|
|
52
|
+
aria-labelledby="search-dropdown-toggle"
|
|
53
|
+
action="https://www.eclipse.org/home/search/"
|
|
54
|
+
method="get"
|
|
55
|
+
>
|
|
56
|
+
<input class="search-bar-input" name="q" placeholder="Search" />
|
|
57
|
+
<button class="btn btn-link" type="submit">
|
|
58
|
+
<i class="fa-solid fa-arrow-right"></i>
|
|
59
|
+
</button>
|
|
60
|
+
</form>
|
|
61
|
+
</li>
|
|
62
|
+
<li class="dropdown">
|
|
63
|
+
<a
|
|
64
|
+
class="dropdown-toggle focus-highlight"
|
|
65
|
+
id="user-menu"
|
|
66
|
+
href="#"
|
|
67
|
+
data-toggle="dropdown"
|
|
68
|
+
aria-haspopup="true"
|
|
69
|
+
aria-expanded="false"
|
|
70
|
+
tabindex="0"
|
|
71
|
+
>
|
|
72
|
+
<i class="fa-regular fa-user" aria-hidden="true"></i>
|
|
73
|
+
</a>
|
|
74
|
+
<ul
|
|
75
|
+
class="dropdown-menu dropdown-menu-right"
|
|
76
|
+
aria-labelledby="user-menu"
|
|
77
|
+
>
|
|
78
|
+
<li>
|
|
79
|
+
<a href="https://accounts.eclipse.org/user">
|
|
80
|
+
<i
|
|
81
|
+
class="fa-solid fa-user margin-right-10"
|
|
82
|
+
aria-hidden="true"
|
|
83
|
+
></i>
|
|
84
|
+
View my account
|
|
85
|
+
</a>
|
|
86
|
+
</li>
|
|
87
|
+
<li>
|
|
88
|
+
<a href="https://accounts.eclipse.org/user/edit">
|
|
89
|
+
<i
|
|
90
|
+
class="fa-solid fa-edit margin-right-10"
|
|
91
|
+
aria-hidden="true"
|
|
92
|
+
></i>
|
|
93
|
+
Edit my account
|
|
94
|
+
</a>
|
|
95
|
+
</li>
|
|
96
|
+
<li>
|
|
97
|
+
<a role="link" class="toolbar-manage-cookies" href="#" tabindex="0">
|
|
98
|
+
<i
|
|
99
|
+
class="fa-solid fa-wrench margin-right-10"
|
|
100
|
+
aria-hidden=""
|
|
101
|
+
></i>
|
|
102
|
+
Manage cookies
|
|
103
|
+
</a>
|
|
104
|
+
</li>
|
|
105
|
+
</ul>
|
|
106
|
+
</li>
|
|
107
|
+
</ul>
|
|
108
|
+
</div>
|
|
109
|
+
<!-- Navbar controls end -->
|
|
110
|
+
{{ if not $hide_cfa }}
|
|
111
|
+
<div class="navigation-bar-ctas hidden-xs hidden-sm">
|
|
112
|
+
<ul>
|
|
113
|
+
<li>
|
|
36
114
|
<a
|
|
37
|
-
class="
|
|
38
|
-
|
|
39
|
-
|
|
115
|
+
class="btn btn-outline-primary"
|
|
116
|
+
{{ with $call_for_action_id -}} id="{{ . }}" {{- end }}
|
|
117
|
+
href="{{ $call_for_action_url }}"
|
|
40
118
|
>
|
|
41
|
-
<i class="fa {{ $call_for_action_icon }}" aria-hidden="true"></i>
|
|
42
119
|
{{ $call_for_action_text }}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
</
|
|
120
|
+
</a>
|
|
121
|
+
</li>
|
|
122
|
+
</ul>
|
|
123
|
+
</div>
|
|
124
|
+
{{ end }}
|
|
125
|
+
<a class="mobile-menu-toggle visible-xs visible-sm" aria-expanded="false">
|
|
126
|
+
</a>
|
|
127
|
+
</div>
|
|
50
128
|
</div>
|
|
129
|
+
</div>
|
|
51
130
|
</div>
|
|
@@ -1,15 +1,12 @@
|
|
|
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
|
-
Zachary Sabourin <zachary.sabourin@eclipse-foundation.org>
|
|
10
|
-
|
|
11
8
|
SPDX-License-Identifier: EPL-2.0
|
|
12
|
-
|
|
9
|
+
-->
|
|
13
10
|
|
|
14
11
|
{{ if isset .Site.Menus "sidebar" }}
|
|
15
12
|
{{ $identifiers := slice "home" }}
|
|
@@ -23,57 +20,54 @@
|
|
|
23
20
|
{{ $menu_sections := where .Site.Menus.sidebar "Identifier" "in" $identifiers}}
|
|
24
21
|
|
|
25
22
|
{{ with $menu_sections }}
|
|
26
|
-
<aside class="
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
23
|
+
<aside class="sidebar">
|
|
24
|
+
<a
|
|
25
|
+
class="sidebar-toggle sidebar-toggle-open"
|
|
26
|
+
type="button"
|
|
27
|
+
href="#sidebar-open"
|
|
28
|
+
>
|
|
29
|
+
<i class="fa-solid fa-bars" aria-hidden="true"></i>
|
|
30
|
+
</a>
|
|
31
|
+
<a
|
|
32
|
+
class="sidebar-toggle sidebar-toggle-close"
|
|
33
|
+
type="button"
|
|
34
|
+
href="#sidebar-close"
|
|
35
|
+
>
|
|
36
|
+
<i class="fa-solid fa-close" aria-hidden="true"></i>
|
|
37
|
+
</a>
|
|
38
|
+
<nav>
|
|
39
|
+
<ul class="sidebar-menu">
|
|
40
|
+
{{ range $index, $menu := . }}
|
|
41
|
+
<li class="menu-group">
|
|
42
|
+
<!-- bootstrap 3 collapse -->
|
|
43
|
+
<a href="#{{ $menu.Identifier }}" data-toggle="collapse" aria-expanded="{{ if eq $index 0 -}} true {{- else -}} false {{- end}}" class="dropdown-toggle">
|
|
44
|
+
{{ $menu.Name }}
|
|
45
|
+
</a>
|
|
46
|
+
<ul class="collapse {{ if eq $index 0 -}} in {{- end }}" id="{{ $menu.Identifier }}">
|
|
47
|
+
{{ range $menu.Children }}
|
|
48
|
+
{{ if .HasChildren }}
|
|
49
|
+
<li class="menu-subgroup">
|
|
50
|
+
<a href="#{{ .Identifier }}" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle">
|
|
51
|
+
{{ .Name }}
|
|
52
|
+
</a>
|
|
53
|
+
<ul class="collapse" id="{{ .Identifier }}">
|
|
51
54
|
{{ range .Children }}
|
|
52
|
-
|
|
53
|
-
{{ .Pre }}
|
|
54
|
-
<a class="link-unstyled" href="{{ .URL | relURL }}" target="_self">{{ .Name }}</a>
|
|
55
|
-
</li>
|
|
55
|
+
<li><a href="{{ .URL }}">{{ .Name }}</a></li>
|
|
56
56
|
{{ end }}
|
|
57
57
|
</ul>
|
|
58
|
-
</
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
<span class="main-sidebar-item-pre" aria-hidden="true">
|
|
65
|
-
{{ .Pre }}
|
|
66
|
-
</span>
|
|
67
|
-
{{ .Name }}
|
|
68
|
-
</div>
|
|
69
|
-
</a>
|
|
70
|
-
</li>
|
|
58
|
+
</li>
|
|
59
|
+
{{ else }}
|
|
60
|
+
<li>
|
|
61
|
+
<a href="{{ .URL }}">{{ .Name }}</a>
|
|
62
|
+
</li>
|
|
63
|
+
{{ end }}
|
|
71
64
|
{{ end }}
|
|
72
|
-
</
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
65
|
+
</ul>
|
|
66
|
+
</li>
|
|
67
|
+
{{ end }}
|
|
68
|
+
</ul>
|
|
69
|
+
</nav>
|
|
77
70
|
</aside>
|
|
78
71
|
{{ end }}
|
|
79
72
|
{{ end }}
|
|
73
|
+
|
|
@@ -1,97 +1,22 @@
|
|
|
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
|
-
|
|
12
|
-
|
|
13
|
-
{{ $twitter_url := $.Site.Params.twitter_url }}
|
|
14
|
-
{{ $facebook_url := $.Site.Params.facebook_url }}
|
|
15
|
-
{{ $instagram_url := $.Site.Params.instagram_url }}
|
|
16
|
-
{{ $youtube_url := $.Site.Params.youtube_url }}
|
|
17
|
-
{{ $linkedin_url := $.Site.Params.linkedin_url }}
|
|
18
|
-
{{ $bluesky_url := $.Site.Params.bluesky_url }}
|
|
9
|
+
-->
|
|
19
10
|
|
|
20
|
-
|
|
21
|
-
{{
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
) }}
|
|
31
|
-
{{ $socials = $socials | append $x }}
|
|
32
|
-
{{ end }}
|
|
33
|
-
{{ with $facebook_url }}
|
|
34
|
-
{{ $facebook := (dict
|
|
35
|
-
"name" "Facebook"
|
|
36
|
-
"url" .
|
|
37
|
-
"icon" "fa-brands fa-facebook-f"
|
|
38
|
-
) }}
|
|
39
|
-
{{ $socials = $socials | append $facebook }}
|
|
11
|
+
<ul class="social-media-list">
|
|
12
|
+
{{ range $.Site.Params.socials }}
|
|
13
|
+
<li>
|
|
14
|
+
<a href="{{ .url }}" aria-label="{{ .name }}">
|
|
15
|
+
<span class="fa-stack">
|
|
16
|
+
<i class="fa-solid fa-circle fa-stack-2x" aria-hidden="true"></i>
|
|
17
|
+
<i class="{{ .icon }} fa-stack-1x fa-inverse" aria-hidden="true"></i>
|
|
18
|
+
</span>
|
|
19
|
+
</a>
|
|
20
|
+
</li>
|
|
40
21
|
{{ end }}
|
|
41
|
-
|
|
42
|
-
{{ $instagram := (dict
|
|
43
|
-
"name" "Instagram"
|
|
44
|
-
"url" .
|
|
45
|
-
"icon" "fa-brands fa-instagram"
|
|
46
|
-
) }}
|
|
47
|
-
{{ $socials = $socials | append $instagram }}
|
|
48
|
-
{{ end }}
|
|
49
|
-
{{ with $youtube_url }}
|
|
50
|
-
{{ $youtube := (dict
|
|
51
|
-
"name" "YouTube"
|
|
52
|
-
"url" .
|
|
53
|
-
"icon" "fa-brands fa-youtube"
|
|
54
|
-
) }}
|
|
55
|
-
{{ $socials = $socials | append $youtube }}
|
|
56
|
-
{{ end }}
|
|
57
|
-
{{ with $linkedin_url }}
|
|
58
|
-
{{ $linkedin := (dict
|
|
59
|
-
"name" "LinkedIn"
|
|
60
|
-
"url" .
|
|
61
|
-
"icon" "fa-brands fa-linkedin-in"
|
|
62
|
-
) }}
|
|
63
|
-
{{ $socials = $socials | append $linkedin }}
|
|
64
|
-
{{ end }}
|
|
65
|
-
{{ with $bluesky_url }}
|
|
66
|
-
{{ $bluesky := (dict
|
|
67
|
-
"name" "Bluesky"
|
|
68
|
-
"url" .
|
|
69
|
-
"icon" "fa-brands fa-bluesky"
|
|
70
|
-
) }}
|
|
71
|
-
{{ $socials = $socials | append $bluesky }}
|
|
72
|
-
{{ end }}
|
|
73
|
-
{{ else }}
|
|
74
|
-
{{ $socials = $.Site.Params.socials }}
|
|
75
|
-
{{ end }}
|
|
76
|
-
|
|
77
|
-
<div class="footer-end-social">
|
|
78
|
-
<p class="footer-end-social-text hidden-xs">Follow Us:</p>
|
|
79
|
-
<ul class="footer-end-social-links list-unstyled">
|
|
80
|
-
{{ range $socials }}
|
|
81
|
-
{{ $text := i18n "footer-sr-social-account" .name | default (printf "%s account" .name) }}
|
|
82
|
-
<li>
|
|
83
|
-
<a
|
|
84
|
-
class="link-unstyled"
|
|
85
|
-
href="{{ .url }}"
|
|
86
|
-
title="{{ $text }}"
|
|
87
|
-
>
|
|
88
|
-
<span class="fa-stack">
|
|
89
|
-
<i class="fa-solid fa-circle fa-stack-2x" aria-hidden="true"></i>
|
|
90
|
-
<i class="{{ .icon }} fa-stack-1x fa-inverse" aria-hidden="true"></i>
|
|
91
|
-
<span class="sr-only">{{ $text }}</span>
|
|
92
|
-
</span>
|
|
93
|
-
</a>
|
|
94
|
-
</li>
|
|
95
|
-
{{ end }}
|
|
96
|
-
</ul>
|
|
97
|
-
</div>
|
|
22
|
+
</ul>
|
|
@@ -1,77 +1,11 @@
|
|
|
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
|
-
|
|
15
|
-
<div class="container">
|
|
16
|
-
<div class="header-toolbar-row">
|
|
17
|
-
<div class="toolbar-btn toolbar-search-btn dropdown">
|
|
18
|
-
<button
|
|
19
|
-
class="dropdown-toggle"
|
|
20
|
-
id="toolbar-search"
|
|
21
|
-
type="button"
|
|
22
|
-
data-toggle="dropdown"
|
|
23
|
-
tabindex="0"
|
|
24
|
-
aria-label="Search"
|
|
25
|
-
>
|
|
26
|
-
<i class="fa fa-search fa-lg" aria-role="none"></i>
|
|
27
|
-
</button>
|
|
28
|
-
<div
|
|
29
|
-
class="toolbar-search-bar-wrapper dropdown-menu dropdown-menu-right"
|
|
30
|
-
aria-labelledby="toolbar-search"
|
|
31
|
-
>
|
|
32
|
-
<form action="https://www.eclipse.org/home/search" method="get">
|
|
33
|
-
<div class="search-bar">
|
|
34
|
-
<input class="search-bar-input" name="q" placeholder="Search" />
|
|
35
|
-
<button>
|
|
36
|
-
<i class="fa fa-search" type="submit"></i>
|
|
37
|
-
</button>
|
|
38
|
-
</div>
|
|
39
|
-
</form>
|
|
40
|
-
</div>
|
|
41
|
-
</div>
|
|
42
|
-
<div class="toolbar-btn toolbar-user-menu-btn dropdown">
|
|
43
|
-
<button
|
|
44
|
-
class="dropdown-toggle"
|
|
45
|
-
id="toolbar-user-menu"
|
|
46
|
-
type="button"
|
|
47
|
-
data-toggle="dropdown"
|
|
48
|
-
tabindex="0"
|
|
49
|
-
aria-label="User Menu"
|
|
50
|
-
>
|
|
51
|
-
<i class="fa fa-user fa-lg"></i>
|
|
52
|
-
</button>
|
|
53
|
-
<ul class="toolbar-user-menu dropdown-menu dropdown-menu-right text-center"
|
|
54
|
-
aria-labelledby="toolbar-user-menu">
|
|
55
|
-
<li>
|
|
56
|
-
<a href="https://accounts.eclipse.org/user">
|
|
57
|
-
<i class="fa fa-user"></i>
|
|
58
|
-
View My Account
|
|
59
|
-
</a>
|
|
60
|
-
</li>
|
|
61
|
-
<li>
|
|
62
|
-
<a href="https://accounts.eclipse.org/user/edit">
|
|
63
|
-
<i class="fa fa-edit"></i>
|
|
64
|
-
Edit My Account
|
|
65
|
-
</a>
|
|
66
|
-
</li>
|
|
67
|
-
<li>
|
|
68
|
-
<a class="toolbar-manage-cookies">
|
|
69
|
-
<i class="fa fa-wrench"></i>
|
|
70
|
-
Manage Cookies
|
|
71
|
-
</a>
|
|
72
|
-
</li>
|
|
73
|
-
</ul>
|
|
74
|
-
</div>
|
|
75
|
-
</div>
|
|
76
|
-
</div>
|
|
77
|
-
</div>
|
|
11
|
+
<!-- Neptune has no toolbar, so this file is intentionally left blank -->
|
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": "
|
|
7
|
+
"version": "3.0.1",
|
|
8
8
|
"bugs": {
|
|
9
9
|
"url": "https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme/-/issues"
|
|
10
10
|
},
|
|
@@ -18,7 +18,8 @@
|
|
|
18
18
|
"hot": "NODE_ENV=development webpack-dev-server --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
|
|
19
19
|
"production": "NODE_ENV=production webpack --progress --config=node_modules/laravel-mix/setup/webpack.config.js",
|
|
20
20
|
"fetch_project": "node bin/projects/index.js -l exampleSite/data",
|
|
21
|
-
"build": "npm run production && npm run fetch_project"
|
|
21
|
+
"build": "npm run production && npm run fetch_project",
|
|
22
|
+
"changeset": "changeset"
|
|
22
23
|
},
|
|
23
24
|
"readmeFilename": "README.md",
|
|
24
25
|
"dependencies": {
|
|
@@ -27,8 +28,10 @@
|
|
|
27
28
|
"toml": "^3.0.0"
|
|
28
29
|
},
|
|
29
30
|
"browserslist": "last 5 version, > 0.2%, not dead, IE 11",
|
|
30
|
-
"devDependencies": {
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@changesets/cli": "^2.31.0"
|
|
33
|
+
},
|
|
31
34
|
"peerDependencies": {
|
|
32
|
-
"@eclipsefdn/solstice-components": "
|
|
35
|
+
"@eclipsefdn/solstice-components": ">=0.7.0 <1.0.0"
|
|
33
36
|
}
|
|
34
37
|
}
|
package/webpack.mix.js
CHANGED
|
@@ -20,13 +20,13 @@ mix.setPublicPath('static');
|
|
|
20
20
|
mix.setResourceRoot('../');
|
|
21
21
|
|
|
22
22
|
mix.less(
|
|
23
|
-
'./node_modules/eclipsefdn-solstice-assets/less/
|
|
24
|
-
'static/css/
|
|
23
|
+
'./node_modules/eclipsefdn-solstice-assets/less/neptune/main.less',
|
|
24
|
+
'static/css/neptune.css'
|
|
25
25
|
);
|
|
26
26
|
|
|
27
27
|
mix.js(
|
|
28
|
-
['./node_modules/eclipsefdn-solstice-assets/js/
|
|
29
|
-
'./static/js/
|
|
28
|
+
['./node_modules/eclipsefdn-solstice-assets/js/neptune.js'],
|
|
29
|
+
'./static/js/neptune.js'
|
|
30
30
|
);
|
|
31
31
|
|
|
32
32
|
mix.js(['./node_modules/eclipsefdn-solstice-assets/js/solstice/eclipsefdn.projects.ts'], './static/js/eclipsefdn.projects.js');
|