eclipsefdn-hugo-solstice-theme 0.3.2 → 1.0.0
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/CHANGELOG.md +246 -0
- package/config.toml +0 -1056
- package/exampleSite/config/_default/config.toml +2 -3
- package/layouts/_default/baseof.html +1 -1
- package/layouts/partials/breadcrumbs.html +22 -2
- package/layouts/partials/featured_story.html +9 -23
- package/layouts/partials/featured_story_popup.html +0 -6
- package/layouts/partials/footer.html +13 -7
- package/layouts/partials/footer_js.html +0 -3
- package/layouts/partials/footer_links/footer-copyright.html +1 -5
- package/layouts/partials/footer_links/footer-eclipse-foundation.html +15 -31
- package/layouts/partials/footer_links/footer-legal.html +11 -28
- package/layouts/partials/footer_links/footer-other.html +12 -27
- package/layouts/partials/footer_links/links.html +2 -8
- package/layouts/partials/footer_links/suffix.html +0 -25
- package/layouts/partials/head.html +10 -15
- package/layouts/partials/header.html +7 -3
- package/layouts/partials/jumbotron.html +52 -3
- package/layouts/partials/main_prefix.html +27 -5
- package/layouts/partials/main_suffix.html +16 -2
- package/layouts/partials/nav.html +55 -6
- package/layouts/partials/navbar.html +61 -5
- package/layouts/partials/sidebar.html +36 -7
- package/layouts/partials/socials.html +79 -4
- package/layouts/partials/toolbar.html +30 -6
- package/package.json +1 -1
- package/webpack.mix.js +0 -18
- package/layouts/partials/astro/breadcrumbs.html +0 -42
- package/layouts/partials/astro/footer.html +0 -32
- package/layouts/partials/astro/header.html +0 -24
- package/layouts/partials/astro/jumbotron.html +0 -102
- package/layouts/partials/astro/main_prefix.html +0 -40
- package/layouts/partials/astro/main_suffix.html +0 -30
- package/layouts/partials/astro/mega_menu.html +0 -65
- package/layouts/partials/astro/mobile_menu.html +0 -108
- package/layouts/partials/astro/nav.html +0 -74
- package/layouts/partials/astro/navbar.html +0 -51
- package/layouts/partials/astro/sidebar.html +0 -79
- package/layouts/partials/astro/socials.html +0 -97
- package/layouts/partials/astro/toolbar.html +0 -77
- package/layouts/partials/mega_menu.html +0 -15
- package/layouts/partials/mobile_menu.html +0 -18
- package/layouts/partials/neptune/breadcrumbs.html +0 -35
- package/layouts/partials/neptune/footer.html +0 -73
- package/layouts/partials/neptune/header.html +0 -24
- package/layouts/partials/neptune/jumbotron.html +0 -90
- package/layouts/partials/neptune/main_prefix.html +0 -38
- package/layouts/partials/neptune/main_suffix.html +0 -13
- package/layouts/partials/neptune/mega_menu.html +0 -61
- package/layouts/partials/neptune/mobile_menu.html +0 -54
- package/layouts/partials/neptune/nav.html +0 -60
- package/layouts/partials/neptune/navbar.html +0 -130
- package/layouts/partials/neptune/sidebar.html +0 -73
- package/layouts/partials/neptune/socials.html +0 -22
- package/layouts/partials/neptune/toolbar.html +0 -11
- package/layouts/partials/quicksilver/breadcrumbs.html +0 -42
- package/layouts/partials/quicksilver/footer.html +0 -26
- package/layouts/partials/quicksilver/header.html +0 -21
- package/layouts/partials/quicksilver/jumbotron.html +0 -66
- package/layouts/partials/quicksilver/main_prefix.html +0 -37
- package/layouts/partials/quicksilver/main_suffix.html +0 -30
- package/layouts/partials/quicksilver/nav.html +0 -70
- package/layouts/partials/quicksilver/navbar.html +0 -74
- package/layouts/partials/quicksilver/sidebar.html +0 -45
- package/layouts/partials/quicksilver/socials.html +0 -91
- package/layouts/partials/quicksilver/toolbar.html +0 -39
- package/layouts/partials/working_group_footer.html +0 -55
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
{{/*
|
|
2
|
-
Copyright (c) 2023 Eclipse Foundation, Inc.
|
|
3
|
-
|
|
4
|
-
This program and the accompanying materials are made available under the
|
|
5
|
-
terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
-
http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
-
|
|
8
|
-
Contributors:
|
|
9
|
-
Olivier Goulet <olivier.goulet@eclipse-foundation.org>
|
|
10
|
-
|
|
11
|
-
SPDX-License-Identifier: EPL-2.0
|
|
12
|
-
*/}}
|
|
13
|
-
|
|
14
|
-
{{ $main_menu := .Scratch.Get "main_menu" }}
|
|
15
|
-
{{ $current_page := . }}
|
|
16
|
-
|
|
17
|
-
<nav class="mobile-menu hidden" aria-expanded="false">
|
|
18
|
-
<ul>
|
|
19
|
-
{{ range (index .Site.Menus $main_menu) }}
|
|
20
|
-
{{ $menu_id := .Identifier | default (lower .Name) }}
|
|
21
|
-
{{ $target_menu := printf "%s-menu" $menu_id }}
|
|
22
|
-
{{ $menu_type := "link" }}
|
|
23
|
-
|
|
24
|
-
{{/* If the desktop menu uses basic dropdowns, set menu type to "dropdown". */}}
|
|
25
|
-
{{ if .HasChildren }}
|
|
26
|
-
{{ $menu_type = "dropdown" }}
|
|
27
|
-
{{ end }}
|
|
28
|
-
|
|
29
|
-
{{/* Unless if any of the menus are 3-levels deep then we know the desktop menu type is "mega". */}}
|
|
30
|
-
{{ range .Children }}
|
|
31
|
-
{{ if .HasChildren }}
|
|
32
|
-
{{ $menu_type = "mega" }}
|
|
33
|
-
{{ end }}
|
|
34
|
-
{{ end }}
|
|
35
|
-
|
|
36
|
-
{{ $args := dict "target_menu" $target_menu "Name" .Name "URL" .URL "Identifier" .Identifier "Children" .Children }}
|
|
37
|
-
|
|
38
|
-
{{ if eq $menu_type "link" }}
|
|
39
|
-
{{ template "mobile_menu_link" $args }}
|
|
40
|
-
{{ else if eq $menu_type "dropdown" }}
|
|
41
|
-
{{ template "mobile_menu_dropdown" $args }}
|
|
42
|
-
{{ else if eq $menu_type "mega" }}
|
|
43
|
-
{{ template "mobile_menu_mega" $args }}
|
|
44
|
-
{{ end }}
|
|
45
|
-
{{ end }}
|
|
46
|
-
</ul>
|
|
47
|
-
</nav>
|
|
48
|
-
|
|
49
|
-
{{ define "mobile_menu_link" }}
|
|
50
|
-
<li>
|
|
51
|
-
<a class="mobile-menu-item" href="{{ .URL }}">{{ .Name }}</a>
|
|
52
|
-
</li>
|
|
53
|
-
{{ end }}
|
|
54
|
-
|
|
55
|
-
{{ define "mobile_menu_dropdown" }}
|
|
56
|
-
<li class="mobile-menu-dropdown">
|
|
57
|
-
<a class="mobile-menu-item mobile-menu-dropdown-toggle" data-target="{{ .target_menu }}">
|
|
58
|
-
<span>{{ .Name }}</span>
|
|
59
|
-
<i class="fa fa-chevron-down" aria-hidden="true"></i>
|
|
60
|
-
</a>
|
|
61
|
-
<div class="mobile-menu-sub-menu-wrapper">
|
|
62
|
-
<ul class="mobile-menu-sub-menu mobile-menu-links-menu hidden" id="{{ .Identifier }}-menu">
|
|
63
|
-
{{ range .Children }}
|
|
64
|
-
{{ template "mobile_menu_link" . }}
|
|
65
|
-
{{ end }}
|
|
66
|
-
</ul>
|
|
67
|
-
</div>
|
|
68
|
-
</li>
|
|
69
|
-
{{ end }}
|
|
70
|
-
|
|
71
|
-
{{ define "mobile_menu_mega" }}
|
|
72
|
-
<li class="mobile-menu-dropdown">
|
|
73
|
-
<a class="mobile-menu-item mobile-menu-dropdown-toggle" data-target="{{ .target_menu }}">
|
|
74
|
-
<span>{{ .Name }}</span>
|
|
75
|
-
<i class="fa fa-chevron-down" aria-hidden="true"></i>
|
|
76
|
-
</a>
|
|
77
|
-
<div class="mobile-menu-sub-menu-wrapper">
|
|
78
|
-
<ul class="mobile-menu-sub-menu hidden" id="{{ .Identifier }}-menu">
|
|
79
|
-
{{ range .Children }}
|
|
80
|
-
<li class="mobile-menu-dropdown">
|
|
81
|
-
<a
|
|
82
|
-
data-target="{{ .Identifier }}-sub-menu"
|
|
83
|
-
class="mobile-menu-item mobile-menu-dropdown-toggle"
|
|
84
|
-
aria-expanded="false"
|
|
85
|
-
>
|
|
86
|
-
<span>{{ .Name }}</span>
|
|
87
|
-
<i class="fa fa-chevron-down" aria-hidden="true"></i>
|
|
88
|
-
</a>
|
|
89
|
-
<div class="mobile-menu-sub-menu-wrapper">
|
|
90
|
-
<ul
|
|
91
|
-
class="mobile-menu-sub-menu mobile-menu-links-menu hidden"
|
|
92
|
-
id="{{ .Identifier }}-sub-menu"
|
|
93
|
-
>
|
|
94
|
-
{{ range .Children }}
|
|
95
|
-
<li>
|
|
96
|
-
<a class="mobile-menu-item" href="{{ .URL }}">
|
|
97
|
-
{{ .Name }}
|
|
98
|
-
</a>
|
|
99
|
-
</li>
|
|
100
|
-
{{ end }}
|
|
101
|
-
</ul>
|
|
102
|
-
</div>
|
|
103
|
-
</li>
|
|
104
|
-
{{ end }}
|
|
105
|
-
</ul>
|
|
106
|
-
</div>
|
|
107
|
-
</li>
|
|
108
|
-
{{ end }}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
{{/*
|
|
2
|
-
Copyright (c) 2023 Eclipse Foundation, Inc.
|
|
3
|
-
|
|
4
|
-
This program and the accompanying materials are made available under the
|
|
5
|
-
terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
-
http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
-
|
|
8
|
-
Contributors:
|
|
9
|
-
Olivier Goulet <olivier.goulet@eclipse-foundation.org>
|
|
10
|
-
|
|
11
|
-
SPDX-License-Identifier: EPL-2.0
|
|
12
|
-
*/}}
|
|
13
|
-
|
|
14
|
-
{{ $main_menu := .Scratch.Get "main_menu" }}
|
|
15
|
-
{{ $current_page := . }}
|
|
16
|
-
|
|
17
|
-
<nav class="header-navbar-nav">
|
|
18
|
-
<ul class="header-navbar-nav-links">
|
|
19
|
-
{{ range (index .Site.Menus $main_menu) }}
|
|
20
|
-
{{ $menu_id := .Identifier | default (lower .Name) }}
|
|
21
|
-
{{ $target_menu := printf "%s-menu" $menu_id }}
|
|
22
|
-
{{ $active_class := "" }}
|
|
23
|
-
{{ $menu_type := "link" }}
|
|
24
|
-
|
|
25
|
-
{{ if $current_page.IsMenuCurrent $main_menu . }}
|
|
26
|
-
{{ $active_class = "active" }}
|
|
27
|
-
{{ end }}
|
|
28
|
-
|
|
29
|
-
{{/* If the menu has children, we will show a dropdown */}}
|
|
30
|
-
{{ if .HasChildren }}
|
|
31
|
-
{{ $menu_type = "dropdown" }}
|
|
32
|
-
{{ end }}
|
|
33
|
-
|
|
34
|
-
{{/* Unless if any of the menus are 3-levels deep then we will show a mega menu. */}}
|
|
35
|
-
{{ range .Children }}
|
|
36
|
-
{{ if .HasChildren }}
|
|
37
|
-
{{ $menu_type = "mega" }}
|
|
38
|
-
{{ end }}
|
|
39
|
-
{{ end }}
|
|
40
|
-
|
|
41
|
-
<li class="navbar-nav-links-item {{ $active_class }}">
|
|
42
|
-
{{ if eq $menu_type "link" }}
|
|
43
|
-
<a class="link-unstyled" href="{{ .URL }}">{{ .Name }}</a>
|
|
44
|
-
{{ else if eq $menu_type "dropdown" }}
|
|
45
|
-
<div class="dropdown">
|
|
46
|
-
<button class="btn-link link-unstyled" id="{{ $menu_id }}" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
|
47
|
-
{{ .Name }}
|
|
48
|
-
<i class="fa fa-caret-down" aria-hidden="true"></i>
|
|
49
|
-
</button>
|
|
50
|
-
<ul class="dropdown-menu" aria-labelledby="{{ $menu_id }}">
|
|
51
|
-
{{ range .Children }}
|
|
52
|
-
<li>
|
|
53
|
-
<a class="link-unstyled" href="{{ .URL }}" {{ with .Params.target -}} target="{{ . | safeHTMLAttr }}" {{- end }}>
|
|
54
|
-
{{ .Name }}
|
|
55
|
-
{{ with .Params.external }}<i class="external-icon fa-solid fa-arrow-up-right-from-square" aria-hidden="true"></i>{{ end }}
|
|
56
|
-
</a>
|
|
57
|
-
</li>
|
|
58
|
-
{{ end }}
|
|
59
|
-
</ul>
|
|
60
|
-
</div>
|
|
61
|
-
{{ else }}
|
|
62
|
-
<button
|
|
63
|
-
class="nav-link-js btn-link link-unstyled"
|
|
64
|
-
type="button"
|
|
65
|
-
aria-expanded="true"
|
|
66
|
-
data-menu-target="{{ $target_menu }}"
|
|
67
|
-
>
|
|
68
|
-
{{ .Name }}
|
|
69
|
-
</button>
|
|
70
|
-
{{ end }}
|
|
71
|
-
</li>
|
|
72
|
-
{{ end }}
|
|
73
|
-
</ul>
|
|
74
|
-
</nav>
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
{{/*
|
|
2
|
-
Copyright (c) 2023 Eclipse Foundation, Inc.
|
|
3
|
-
|
|
4
|
-
This program and the accompanying materials are made available under the
|
|
5
|
-
terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
-
http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
-
|
|
8
|
-
Contributors:
|
|
9
|
-
Olivier Goulet <olivier.goulet@eclipse-foundation.org>
|
|
10
|
-
|
|
11
|
-
SPDX-License-Identifier: EPL-2.0
|
|
12
|
-
*/}}
|
|
13
|
-
|
|
14
|
-
{{ $logo := .Site.Params.logo | default "https://www.eclipse.org/eclipse.org-common/themes/solstice/public/images/logo/eclipse-foundation-grey-orange.svg" }}
|
|
15
|
-
{{ $logo_width := .Site.Params.logo_width | default "150" }}
|
|
16
|
-
{{ $logo_title := .Site.Params.logo_title | default $.Site.Title }}
|
|
17
|
-
|
|
18
|
-
{{ $call_for_action_text := .Site.Params.call_for_action_text }}
|
|
19
|
-
{{ $call_for_action_url := .Site.Params.call_for_action_url }}
|
|
20
|
-
{{ $call_for_action_icon := .Site.Params.call_for_action_icon }}
|
|
21
|
-
{{ $call_for_action_id := .Site.Params.call_for_action_id }}
|
|
22
|
-
|
|
23
|
-
{{ $hide_cfa := .Site.Params.hide_call_for_action | default .Page.Params.hide_call_for_action | default false }}
|
|
24
|
-
|
|
25
|
-
<div class="header-navbar-wrapper">
|
|
26
|
-
<div class="container">
|
|
27
|
-
<div class="header-navbar">
|
|
28
|
-
<div class="header-navbar-brand">
|
|
29
|
-
<a class="logo-wrapper" href="/" title="{{ $logo_title }}">
|
|
30
|
-
<img src="{{ $logo }}" alt="" width="{{ $logo_width }}" />
|
|
31
|
-
</a>
|
|
32
|
-
</div>
|
|
33
|
-
{{ partial "nav.html" . }}
|
|
34
|
-
<div class="header-navbar-end">
|
|
35
|
-
{{ if not $hide_cfa }}
|
|
36
|
-
<a
|
|
37
|
-
class="header-navbar-end-download-btn btn btn-primary"
|
|
38
|
-
href="{{ $call_for_action_url }}"
|
|
39
|
-
{{ with $call_for_action_id -}} id="{{ . }}" {{- end }}
|
|
40
|
-
>
|
|
41
|
-
<i class="fa {{ $call_for_action_icon }}" aria-hidden="true"></i>
|
|
42
|
-
{{ $call_for_action_text }}
|
|
43
|
-
</a>
|
|
44
|
-
{{ end }}
|
|
45
|
-
<button class="mobile-menu-btn" aria-label="Toggle mobile navigation menu" aria-expanded="false">
|
|
46
|
-
<i class="fa fa-bars fa-xl"></i>
|
|
47
|
-
</button>
|
|
48
|
-
</div>
|
|
49
|
-
</div>
|
|
50
|
-
</div>
|
|
51
|
-
</div>
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
{{/*
|
|
2
|
-
Copyright (c) 2023, 2024 Eclipse Foundation, Inc.
|
|
3
|
-
This program and the accompanying materials are made available under the
|
|
4
|
-
terms of the Eclipse Public License v. 2.0 which is available at
|
|
5
|
-
http://www.eclipse.org/legal/epl-2.0.
|
|
6
|
-
|
|
7
|
-
Contributors:
|
|
8
|
-
Olivier Goulet <olivier.goulet@eclipse-foundation.org>
|
|
9
|
-
Zachary Sabourin <zachary.sabourin@eclipse-foundation.org>
|
|
10
|
-
|
|
11
|
-
SPDX-License-Identifier: EPL-2.0
|
|
12
|
-
*/}}
|
|
13
|
-
|
|
14
|
-
{{ if isset .Site.Menus "sidebar" }}
|
|
15
|
-
{{ $identifiers := slice "home" }}
|
|
16
|
-
|
|
17
|
-
{{ if .Page.Params.sidebar }}
|
|
18
|
-
{{ $identifiers = .Page.Params.sidebar }}
|
|
19
|
-
{{ else if .Page.Section }}
|
|
20
|
-
{{ $identifiers = slice .Page.Section }}
|
|
21
|
-
{{ end }}
|
|
22
|
-
|
|
23
|
-
{{ $menu_sections := where .Site.Menus.sidebar "Identifier" "in" $identifiers}}
|
|
24
|
-
|
|
25
|
-
{{ with $menu_sections }}
|
|
26
|
-
<aside class="main-sidebar-default-margin" id="main-sidebar">
|
|
27
|
-
{{ range . }}
|
|
28
|
-
{{ if .HasChildren }}
|
|
29
|
-
<ul class="ul-left-nav" id="leftnav" role="tablist" aria-multiselectable="true">
|
|
30
|
-
<li class="main-sidebar-main-item main-sidebar-item-indented separator">
|
|
31
|
-
{{ if .URL }}
|
|
32
|
-
<a class="main-sidebar-heading link-unstyled" href="{{ .URL }}">
|
|
33
|
-
{{ .Name }}
|
|
34
|
-
</a>
|
|
35
|
-
{{ else }}
|
|
36
|
-
<p class="main-sidebar-heading">
|
|
37
|
-
{{ .Name }}
|
|
38
|
-
</p>
|
|
39
|
-
{{ end }}
|
|
40
|
-
</li>
|
|
41
|
-
{{ range .Children }}
|
|
42
|
-
<li class="main-sidebar-item main-sidebar-item-indented">
|
|
43
|
-
{{ if .HasChildren }}
|
|
44
|
-
<li class="main-sidebar-item main-sidebar-item-indented">
|
|
45
|
-
<a class="link-unstyled" role="button" data-toggle="collapse" href="#{{ .Identifier }}" aria-expanded="false" aria-controls="{{ .Identifier }}">
|
|
46
|
-
<span>{{ .Name }}</span>
|
|
47
|
-
<i class="main-sidebar-item-icon fa fa-chevron-down" aria-hidden="true"></i>
|
|
48
|
-
</a>
|
|
49
|
-
<div class="collapse" id="{{ .Identifier }}">
|
|
50
|
-
<ul class="main-sidebar-item-submenu list-unstyled">
|
|
51
|
-
{{ range .Children }}
|
|
52
|
-
<li class="submenu-item">
|
|
53
|
-
{{ .Pre }}
|
|
54
|
-
<a class="link-unstyled" href="{{ .URL | relURL }}" target="_self">{{ .Name }}</a>
|
|
55
|
-
</li>
|
|
56
|
-
{{ end }}
|
|
57
|
-
</ul>
|
|
58
|
-
</div>
|
|
59
|
-
</li>
|
|
60
|
-
{{ else }}
|
|
61
|
-
<li class="main-sidebar-item main-sidebar-item-indented">
|
|
62
|
-
<a class="link-unstyled" href="{{ .URL | relURL }}">
|
|
63
|
-
<div>
|
|
64
|
-
<span class="main-sidebar-item-pre" aria-hidden="true">
|
|
65
|
-
{{ .Pre }}
|
|
66
|
-
</span>
|
|
67
|
-
{{ .Name }}
|
|
68
|
-
</div>
|
|
69
|
-
</a>
|
|
70
|
-
</li>
|
|
71
|
-
{{ end }}
|
|
72
|
-
</li>
|
|
73
|
-
{{ end }}
|
|
74
|
-
</ul>
|
|
75
|
-
{{ end }}
|
|
76
|
-
{{ end }}
|
|
77
|
-
</aside>
|
|
78
|
-
{{ end }}
|
|
79
|
-
{{ end }}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
{{/*
|
|
2
|
-
Copyright (c) 2023 Eclipse Foundation, Inc.
|
|
3
|
-
This program and the accompanying materials are made available under the
|
|
4
|
-
terms of the Eclipse Public License v. 2.0 which is available at
|
|
5
|
-
http://www.eclipse.org/legal/epl-2.0.
|
|
6
|
-
|
|
7
|
-
Contributors:
|
|
8
|
-
Olivier Goulet <olivier.goulet@eclipse-foundation.org>
|
|
9
|
-
|
|
10
|
-
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 }}
|
|
19
|
-
|
|
20
|
-
{{/* To support the legacy "socialmedia_url" params */}}
|
|
21
|
-
{{ $socials := slice }}
|
|
22
|
-
{{ $using_legacy_socials := cond (or (ne $facebook_url nil) (ne $twitter_url nil) (ne $instagram_url nil) (ne $youtube_url nil) (ne $linkedin_url nil) (ne $bluesky_url nil)) true false }}
|
|
23
|
-
|
|
24
|
-
{{ if $using_legacy_socials }}
|
|
25
|
-
{{ with $twitter_url }}
|
|
26
|
-
{{ $x := (dict
|
|
27
|
-
"name" "X"
|
|
28
|
-
"url" .
|
|
29
|
-
"icon" "fa-brands fa-x-twitter"
|
|
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 }}
|
|
40
|
-
{{ end }}
|
|
41
|
-
{{ with $instagram_url }}
|
|
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>
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
{{/*
|
|
2
|
-
Copyright (c) 2023 Eclipse Foundation, Inc.
|
|
3
|
-
|
|
4
|
-
This program and the accompanying materials are made available under the
|
|
5
|
-
terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
-
http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
-
|
|
8
|
-
Contributors:
|
|
9
|
-
Olivier Goulet <olivier.goulet@eclipse-foundation.org>
|
|
10
|
-
|
|
11
|
-
SPDX-License-Identifier: EPL-2.0
|
|
12
|
-
*/}}
|
|
13
|
-
|
|
14
|
-
<div class="header-toolbar">
|
|
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>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
{{/*
|
|
2
|
-
Copyright (c) 2023 Eclipse Foundation, Inc.
|
|
3
|
-
This program and the accompanying materials are made available under the
|
|
4
|
-
terms of the Eclipse Public License v. 2.0 which is available at
|
|
5
|
-
http://www.eclipse.org/legal/epl-2.0.
|
|
6
|
-
|
|
7
|
-
Contributors:
|
|
8
|
-
Olivier Goulet <olivier.goulet@eclipse-foundation.org>
|
|
9
|
-
|
|
10
|
-
SPDX-License-Identifier: EPL-2.0
|
|
11
|
-
*/}}
|
|
12
|
-
|
|
13
|
-
{{ $layout_style := $.Site.Params.layout_style | default "quicksilver" }}
|
|
14
|
-
|
|
15
|
-
{{ partial (printf "%s/mega_menu.html" $layout_style) . }}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
{{/*
|
|
2
|
-
Copyright (c) 2023 Eclipse Foundation, Inc.
|
|
3
|
-
This program and the accompanying materials are made available under the
|
|
4
|
-
terms of the Eclipse Public License v. 2.0 which is available at
|
|
5
|
-
http://www.eclipse.org/legal/epl-2.0.
|
|
6
|
-
|
|
7
|
-
Contributors:
|
|
8
|
-
Olivier Goulet <olivier.goulet@eclipse-foundation.org>
|
|
9
|
-
|
|
10
|
-
SPDX-License-Identifier: EPL-2.0
|
|
11
|
-
*/}}
|
|
12
|
-
|
|
13
|
-
{{ $layout_style := $.Site.Params.layout_style | default "quicksilver" }}
|
|
14
|
-
{{ $supported_layout_styles := slice "astro" "neptune" }}
|
|
15
|
-
|
|
16
|
-
{{ if in $supported_layout_styles $layout_style }}
|
|
17
|
-
{{ partial (printf "%s/mobile_menu.html" $layout_style) . }}
|
|
18
|
-
{{ end }}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
Copyright (c) 2025 Eclipse Foundation AISBL
|
|
3
|
-
|
|
4
|
-
This program and the accompanying materials are made available under the
|
|
5
|
-
terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
-
http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
-
|
|
8
|
-
SPDX-License-Identifier: EPL-2.0
|
|
9
|
-
-->
|
|
10
|
-
|
|
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>
|
|
19
|
-
{{ end }}
|
|
20
|
-
|
|
21
|
-
{{ define "breadcrumb-links" }}
|
|
22
|
-
{{ $max_length := 32 }}
|
|
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 }}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
Copyright (c) 2025 Eclipse Foundation AISBL
|
|
3
|
-
|
|
4
|
-
This program and the accompanying materials are made available under the
|
|
5
|
-
terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
-
http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
-
|
|
8
|
-
SPDX-License-Identifier: EPL-2.0
|
|
9
|
-
-->
|
|
10
|
-
|
|
11
|
-
{{ $footer_class := .Page.Params.footer_class }}
|
|
12
|
-
<footer class="footer {{- with $footer_class }} {{ . }}{{ end }}">
|
|
13
|
-
<div class="container">
|
|
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>
|
|
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>
|
|
68
|
-
</div>
|
|
69
|
-
</section>
|
|
70
|
-
</div>
|
|
71
|
-
</div>
|
|
72
|
-
</footer>
|
|
73
|
-
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
Copyright (c) 2025 Eclipse Foundation AISBL
|
|
3
|
-
|
|
4
|
-
This program and the accompanying materials are made available under the
|
|
5
|
-
terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
-
http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
-
|
|
8
|
-
SPDX-License-Identifier: EPL-2.0
|
|
9
|
-
-->
|
|
10
|
-
|
|
11
|
-
{{ $header_wrapper_class := .Params.header_wrapper_class | default .Site.Params.header_wrapper_class }}
|
|
12
|
-
|
|
13
|
-
{{ partial "google_tag_manager_no_script.html" . }}
|
|
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 }}
|
|
19
|
-
<header class="header-wrapper {{ $header_wrapper_class }}" id="header">
|
|
20
|
-
{{ partial "toolbar.html" . }}
|
|
21
|
-
{{ partial "navbar.html" . }}
|
|
22
|
-
{{ partial "mobile_menu.html" . }}
|
|
23
|
-
{{ partial "mega_menu.html" . }}
|
|
24
|
-
</header>
|