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,5 +1,5 @@
|
|
|
1
|
-
{{/*
|
|
2
|
-
Copyright (c) 2018
|
|
1
|
+
{{/*
|
|
2
|
+
Copyright (c) 2018 Eclipse Foundation, Inc.
|
|
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
|
|
@@ -7,12 +7,68 @@
|
|
|
7
7
|
|
|
8
8
|
Contributors:
|
|
9
9
|
Christopher Guindon <chris.guindon@eclipse-foundation.org>
|
|
10
|
-
Olivier Goulet <olivier.goulet@eclipse-foundation.org>
|
|
11
10
|
|
|
12
11
|
SPDX-License-Identifier: EPL-2.0
|
|
13
12
|
*/}}
|
|
14
13
|
|
|
14
|
+
<div class="{{ $.Site.Params.navbar_wrapper_classes | default "navbar-wrapper" }}">
|
|
15
|
+
<div class="container">
|
|
16
|
+
<div class="row" id="header-row">
|
|
17
|
+
<div class="{{ $.Site.Params.header_left_classes | default "col-sm-5 col-md-4" }}" id="header-left">
|
|
18
|
+
<div class="wrapper-logo-default">
|
|
15
19
|
|
|
16
|
-
{{
|
|
20
|
+
{{ with .Page.Params.logo | default .Site.Params.logo | default "https://www.eclipse.org/eclipse.org-common/themes/solstice/public/images/logo/eclipse-foundation-white-orange.svg" }}
|
|
17
21
|
|
|
18
|
-
{{
|
|
22
|
+
{{ $currentPageLogo := . }}
|
|
23
|
+
{{ $currentPageLogoTitle := $.Site.Title }}
|
|
24
|
+
{{ $currentPageLogoLink := "" }}
|
|
25
|
+
|
|
26
|
+
{{ range $.Site.Data.subsites_custom_logo.items }}
|
|
27
|
+
{{ $section := $.Site.GetPage (.page_url) }}
|
|
28
|
+
{{ if or (eq ($.Section) ($section)) ( $.Page.IsDescendant $section ) }}
|
|
29
|
+
{{ $currentPageLogo = .logo }}
|
|
30
|
+
{{ $currentPageLogoTitle = .logo_title }}
|
|
31
|
+
{{ $currentPageLogoLink = .logo_url }}
|
|
32
|
+
{{ end }}
|
|
33
|
+
{{ end }}
|
|
34
|
+
|
|
35
|
+
<a title="{{ $currentPageLogoTitle }}" href="{{ $currentPageLogoLink | absLangURL }}">
|
|
36
|
+
<img width="{{ $.Page.Params.logo_width | default $.Site.Params.logo_width | default "140"}}" class="logo-eclipse-default img-responsive hidden-xs" src="{{ $currentPageLogo | relURL }}" alt="{{ $currentPageLogoTitle }}" />
|
|
37
|
+
</a>
|
|
38
|
+
{{ end }}
|
|
39
|
+
|
|
40
|
+
</div>
|
|
41
|
+
</div>
|
|
42
|
+
{{ $has_cfa := 0 }}
|
|
43
|
+
{{ if (and (isset .Site.Params "call_for_action_text") (isset .Site.Params "call_for_action_url") (isset .Site.Params "call_for_action_icon")) }}
|
|
44
|
+
{{ $has_cfa = 1 }}
|
|
45
|
+
{{ end }}
|
|
46
|
+
<div class="{{ $.Site.Params.main_menu_wrapper_classes | default "col-sm-19 col-md-20 margin-top-10" }}{{ if eq $has_cfa 0}} reset{{ end }}" id="main-menu-wrapper">
|
|
47
|
+
{{ $normalized_cta_url := .Site.Params.call_for_action_url }}
|
|
48
|
+
{{ $hide_call_for_action := .Page.Params.hide_call_for_action }}
|
|
49
|
+
{{ if (eq (len (findRE `(\.[^\/]{3,4}|\/)$` $normalized_cta_url)) 0) }}
|
|
50
|
+
{{ $normalized_cta_url = printf "%s/" $normalized_cta_url }}
|
|
51
|
+
{{ end }}
|
|
52
|
+
|
|
53
|
+
{{ $abs_cfa := printf "%s" ($normalized_cta_url | relURL) }}
|
|
54
|
+
{{ $is_cfa_page := 0 }}
|
|
55
|
+
{{ if or (eq $normalized_cta_url .Permalink) (eq $abs_cfa .Permalink) }}
|
|
56
|
+
{{ $is_cfa_page = 1 }}
|
|
57
|
+
{{ end }}
|
|
58
|
+
{{ if and (eq $has_cfa 1) (not (or (eq .Site.Params.hide_cfa_same_page "true") (eq $is_cfa_page 1) (eq $hide_call_for_action true))) }}
|
|
59
|
+
<div class="{{ $.Site.Params.call_for_action_wrapper_classes | default "float-right hidden-xs" }}" id="btn-call-for-action">
|
|
60
|
+
<div id="btn-call-for-action"><a href="{{ .Site.Params.call_for_action_url }}" class="{{ .Site.Params.call_for_action_classes | default "btn btn-huge btn-warning" }}"><i class="fa {{ .Site.Params.call_for_action_icon }}"></i> {{ .Site.Params.call_for_action_text }}</a></div>
|
|
61
|
+
</div>
|
|
62
|
+
{{ end }}
|
|
63
|
+
<div class="{{ $.Site.Params.main_menu_classes | default "navbar float-sm-right yamm" }}" id="main-menu">
|
|
64
|
+
<div class="navbar-collapse collapse reset float-right" id="navbar-main-menu">
|
|
65
|
+
<ul class="nav navbar-nav">
|
|
66
|
+
{{ partial "nav.html" . }}
|
|
67
|
+
</ul>
|
|
68
|
+
</div>
|
|
69
|
+
{{ partial "nav_toggle.html" . }}
|
|
70
|
+
</div>
|
|
71
|
+
</div>
|
|
72
|
+
</div>
|
|
73
|
+
</div>
|
|
74
|
+
</div>
|
|
@@ -1,16 +1,45 @@
|
|
|
1
1
|
{{/*
|
|
2
|
-
Copyright (c) 2018
|
|
2
|
+
Copyright (c) 2018 Eclipse Foundation, Inc.
|
|
3
3
|
This program and the accompanying materials are made available under the
|
|
4
4
|
terms of the Eclipse Public License v. 2.0 which is available at
|
|
5
5
|
http://www.eclipse.org/legal/epl-2.0.
|
|
6
|
-
|
|
7
6
|
Contributors:
|
|
8
|
-
|
|
9
|
-
Olivier Goulet <olivier.goulet@eclipse-foundation.org>
|
|
10
|
-
|
|
7
|
+
Christopher Guindon <chris.guindon@eclipse-foundation.org>
|
|
11
8
|
SPDX-License-Identifier: EPL-2.0
|
|
12
9
|
*/}}
|
|
13
10
|
|
|
14
|
-
{{
|
|
11
|
+
{{ if isset .Site.Menus "sidebar" }}
|
|
12
|
+
{{ $currentPage := . }}
|
|
13
|
+
{{ .Scratch.Set "currentSection" "home" }}
|
|
14
|
+
|
|
15
|
+
{{ if $currentPage.Section }}
|
|
16
|
+
{{ .Scratch.Set "currentSection" $currentPage.Section }}
|
|
17
|
+
{{ end }}
|
|
18
|
+
|
|
19
|
+
{{$currentSection := .Scratch.Get "currentSection" }}
|
|
20
|
+
|
|
21
|
+
{{ range .Site.Menus.sidebar }}
|
|
22
|
+
{{$parentItem := . }}
|
|
15
23
|
|
|
16
|
-
{{
|
|
24
|
+
{{ if and (.HasChildren) (eq $currentSection $parentItem.Identifier) }}
|
|
25
|
+
<aside id="main-sidebar" class="subpage-sidebar">
|
|
26
|
+
<ul id="leftnav" class="ul-left-nav fa-ul hidden-print">
|
|
27
|
+
<li class="separator">
|
|
28
|
+
<a class="separator" href="{{ .URL | relURL }}">{{ $parentItem.Name }}</a>
|
|
29
|
+
</li>
|
|
30
|
+
{{ range .Children }}
|
|
31
|
+
{{ if or (eq $parentItem.Identifier $currentSection) (eq .Parent $currentSection) }}
|
|
32
|
+
<li{{if $currentPage.IsMenuCurrent "main" . }} class="active"{{end}}>
|
|
33
|
+
{{ .Pre }}
|
|
34
|
+
<a href="{{ .URL | relURL }}" target="_self">{{ .Name }}</a>
|
|
35
|
+
</li>
|
|
36
|
+
{{ end }}
|
|
37
|
+
{{ end }}
|
|
38
|
+
</ul>
|
|
39
|
+
</aside>
|
|
40
|
+
{{ end }}
|
|
41
|
+
{{ end }}
|
|
42
|
+
{{ if isset $currentPage.Params "custom_sidebar" }}
|
|
43
|
+
{{ $currentPage.Params.custom_sidebar | safeHTML }}
|
|
44
|
+
{{ end }}
|
|
45
|
+
{{ end }}
|
|
@@ -1,16 +1,91 @@
|
|
|
1
1
|
{{/*
|
|
2
|
-
Copyright (c)
|
|
2
|
+
Copyright (c) 2020, 2022 Eclipse Foundation, Inc.
|
|
3
3
|
This program and the accompanying materials are made available under the
|
|
4
4
|
terms of the Eclipse Public License v. 2.0 which is available at
|
|
5
5
|
http://www.eclipse.org/legal/epl-2.0.
|
|
6
6
|
|
|
7
7
|
Contributors:
|
|
8
|
+
Martin Lowe <martin.lowe@eclipse-foundation.org>
|
|
8
9
|
Christopher Guindon <chris.guindon@eclipse-foundation.org>
|
|
9
|
-
Olivier Goulet <olivier.goulet@eclipse-foundation.org>
|
|
10
10
|
|
|
11
11
|
SPDX-License-Identifier: EPL-2.0
|
|
12
12
|
*/}}
|
|
13
13
|
|
|
14
|
-
{{ $
|
|
14
|
+
{{ $twitter_url := $.Site.Params.twitter_url }}
|
|
15
|
+
{{ $facebook_url := $.Site.Params.facebook_url }}
|
|
16
|
+
{{ $instagram_url := $.Site.Params.instagram_url }}
|
|
17
|
+
{{ $youtube_url := $.Site.Params.youtube_url }}
|
|
18
|
+
{{ $linkedin_url := $.Site.Params.linkedin_url }}
|
|
19
|
+
{{ $bluesky_url := $.Site.Params.bluesky_url }}
|
|
15
20
|
|
|
16
|
-
{{
|
|
21
|
+
{{/* To support the legacy "socialmedia_url" params */}}
|
|
22
|
+
{{ $socials := slice }}
|
|
23
|
+
{{ $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 }}
|
|
24
|
+
|
|
25
|
+
{{ if $using_legacy_socials }}
|
|
26
|
+
{{ with $twitter_url }}
|
|
27
|
+
{{ $x := (dict
|
|
28
|
+
"name" "X"
|
|
29
|
+
"url" .
|
|
30
|
+
"icon" "fa-brands fa-x-twitter"
|
|
31
|
+
) }}
|
|
32
|
+
{{ $socials = $socials | append $x }}
|
|
33
|
+
{{ end }}
|
|
34
|
+
{{ with $facebook_url }}
|
|
35
|
+
{{ $facebook := (dict
|
|
36
|
+
"name" "Facebook"
|
|
37
|
+
"url" .
|
|
38
|
+
"icon" "fa-brands fa-facebook-f"
|
|
39
|
+
) }}
|
|
40
|
+
{{ $socials = $socials | append $facebook }}
|
|
41
|
+
{{ end }}
|
|
42
|
+
{{ with $instagram_url }}
|
|
43
|
+
{{ $instagram := (dict
|
|
44
|
+
"name" "Instagram"
|
|
45
|
+
"url" .
|
|
46
|
+
"icon" "fa-brands fa-instagram"
|
|
47
|
+
) }}
|
|
48
|
+
{{ $socials = $socials | append $instagram }}
|
|
49
|
+
{{ end }}
|
|
50
|
+
{{ with $youtube_url }}
|
|
51
|
+
{{ $youtube := (dict
|
|
52
|
+
"name" "YouTube"
|
|
53
|
+
"url" .
|
|
54
|
+
"icon" "fa-brands fa-youtube"
|
|
55
|
+
) }}
|
|
56
|
+
{{ $socials = $socials | append $youtube }}
|
|
57
|
+
{{ end }}
|
|
58
|
+
{{ with $linkedin_url }}
|
|
59
|
+
{{ $linkedin := (dict
|
|
60
|
+
"name" "LinkedIn"
|
|
61
|
+
"url" .
|
|
62
|
+
"icon" "fa-brands fa-linkedin-in"
|
|
63
|
+
) }}
|
|
64
|
+
{{ $socials = $socials | append $linkedin }}
|
|
65
|
+
{{ end }}
|
|
66
|
+
{{ with $bluesky_url }}
|
|
67
|
+
{{ $bluesky := (dict
|
|
68
|
+
"name" "Bluesky"
|
|
69
|
+
"url" .
|
|
70
|
+
"icon" "fa-brands fa-bluesky"
|
|
71
|
+
) }}
|
|
72
|
+
{{ $socials = $socials | append $bluesky }}
|
|
73
|
+
{{ end }}
|
|
74
|
+
{{ else }}
|
|
75
|
+
{{ $socials = $.Site.Params.socials }}
|
|
76
|
+
{{ end }}
|
|
77
|
+
|
|
78
|
+
<div class="col-sm-8 social-media">
|
|
79
|
+
<ul class="list-unstyled social-links">
|
|
80
|
+
{{ range $socials }}
|
|
81
|
+
{{ $i18n_key := printf "footer-sr-%s-text" (urlize (lower .name)) }}
|
|
82
|
+
{{ $text := i18n $i18n_key | default .name }}
|
|
83
|
+
{{ $title_key := printf "footer-sr-%s-account" (urlize (lower .name)) }}
|
|
84
|
+
<li><a class="social-media-link fa-stack fa-lg" href="{{ .url }}" {{ with (i18n $title_key) }}title="{{ . }}"{{ end }}>
|
|
85
|
+
<i class="fa-regular fa-circle fa-stack-2x"></i>
|
|
86
|
+
<i class="{{ .icon }} fa-stack-1x"></i>
|
|
87
|
+
<span class="sr-only">{{ $text }}</span>
|
|
88
|
+
</a></li>
|
|
89
|
+
{{ end }}
|
|
90
|
+
</ul>
|
|
91
|
+
</div>
|
|
@@ -1,15 +1,39 @@
|
|
|
1
|
-
{{/*
|
|
2
|
-
Copyright (c)
|
|
1
|
+
{{/*
|
|
2
|
+
Copyright (c) 2018 Eclipse Foundation, Inc.
|
|
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
8
|
Contributors:
|
|
8
|
-
|
|
9
|
+
Christopher Guindon <chris.guindon@eclipse-foundation.org>
|
|
9
10
|
|
|
10
11
|
SPDX-License-Identifier: EPL-2.0
|
|
11
12
|
*/}}
|
|
12
13
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
<div class="clearfix toolbar-container-wrapper">
|
|
15
|
+
<div class="container">
|
|
16
|
+
<div class="text-right toolbar-row row hidden-print">
|
|
17
|
+
<div class="col-md-24 row-toolbar-col">
|
|
18
|
+
<ul class="list-inline">
|
|
19
|
+
<li><a href="https://accounts.eclipse.org/user/edit" class="" data-tab-destination="tab-profile"><i class="fa fa-edit fa-fw"></i> {{ i18n "navbar-edit-acccount-label" }}</a></li>
|
|
20
|
+
<li><a class="toolbar-link toolbar-manage-cookies dropdown-toggle"><i class="fa fa-wrench"></i> {{ i18n "navbar-manage-cookies-label" }}</a></li>
|
|
21
|
+
{{ if gt (len .AllTranslations) 1 }}
|
|
22
|
+
<li class="language-selector dropdown">
|
|
23
|
+
<a href="#" data-toggle="dropdown" class="dropdown-toggle">
|
|
24
|
+
<i class="fa fa-globe"></i>
|
|
25
|
+
<span> {{ .Language.LanguageName }}</span>
|
|
26
|
+
<b class="caret"></b>
|
|
27
|
+
</a>
|
|
28
|
+
<ul class="dropdown-menu">
|
|
29
|
+
{{ range .AllTranslations }}
|
|
30
|
+
<li><a href="{{ .Permalink }}">{{ .Language.LanguageName }}</a></li>
|
|
31
|
+
{{ end }}
|
|
32
|
+
</ul>
|
|
33
|
+
</li>
|
|
34
|
+
{{ end }}
|
|
35
|
+
</ul>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
package/package.json
CHANGED
package/webpack.mix.js
CHANGED
|
@@ -24,28 +24,10 @@ mix.less(
|
|
|
24
24
|
'static/css/quicksilver.css'
|
|
25
25
|
);
|
|
26
26
|
|
|
27
|
-
mix.less(
|
|
28
|
-
'./node_modules/eclipsefdn-solstice-assets/less/astro/main.less',
|
|
29
|
-
'static/css/astro.css'
|
|
30
|
-
);
|
|
31
|
-
|
|
32
|
-
mix.less(
|
|
33
|
-
'./node_modules/eclipsefdn-solstice-assets/less/neptune/main.less',
|
|
34
|
-
'static/css/neptune.css'
|
|
35
|
-
);
|
|
36
|
-
|
|
37
27
|
mix.js(
|
|
38
28
|
['./node_modules/eclipsefdn-solstice-assets/js/main.js'],
|
|
39
29
|
'./static/js/solstice.js'
|
|
40
30
|
);
|
|
41
|
-
mix.js(
|
|
42
|
-
['./node_modules/eclipsefdn-solstice-assets/js/astro.js'],
|
|
43
|
-
'./static/js/astro.js'
|
|
44
|
-
);
|
|
45
|
-
mix.js(
|
|
46
|
-
['./node_modules/eclipsefdn-solstice-assets/js/neptune.js'],
|
|
47
|
-
'./static/js/neptune.js'
|
|
48
|
-
);
|
|
49
31
|
|
|
50
32
|
mix.js(['./node_modules/eclipsefdn-solstice-assets/js/solstice/eclipsefdn.projects.ts'], './static/js/eclipsefdn.projects.js');
|
|
51
33
|
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
{{/*
|
|
2
|
-
Copyright (c) 2018, 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
|
-
Christopher Guindon <chris.guindon@eclipse-foundation.org>
|
|
9
|
-
Olivier Goulet <olivier.goulet@eclipse-foundation.org>
|
|
10
|
-
|
|
11
|
-
SPDX-License-Identifier: EPL-2.0
|
|
12
|
-
*/}}
|
|
13
|
-
|
|
14
|
-
{{ $breadcrumb_container := "" }}
|
|
15
|
-
|
|
16
|
-
{{ if and (eq $.Site.Params.layout_style "astro") (strings.Contains .Params.container "container-fluid") }}
|
|
17
|
-
{{ $breadcrumb_container = "container" }}
|
|
18
|
-
{{ end }}
|
|
19
|
-
|
|
20
|
-
<div class="default-breadcrumbs hidden-print" id="breadcrumb">
|
|
21
|
-
<div class="{{ $breadcrumb_container }}">
|
|
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
|
-
<a href="{{ .p1.Permalink }}">{{ if eq (.p1.Params.format_title | default .site_params.format_title) false }}{{ .p1.Title | safeHTML }}{{ else }}{{ .p1.Title | safeHTML | title }}{{ end }}</a>
|
|
35
|
-
</li>
|
|
36
|
-
{{ end }}
|
|
37
|
-
</div>
|
|
38
|
-
</div>
|
|
39
|
-
</div>
|
|
40
|
-
</div>
|
|
41
|
-
|
|
42
|
-
|
|
@@ -1,32 +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
|
-
<p id="back-to-top">
|
|
14
|
-
<a class="visible-xs" href="#">{{ i18n "navigation-back-to-top" }}</a>
|
|
15
|
-
</p>
|
|
16
|
-
<footer class="footer" id="footer">
|
|
17
|
-
<div class="container">
|
|
18
|
-
{{ partial "footer_prefix.html" . }}
|
|
19
|
-
<div class="footer-sections row equal-height-md font-bold">
|
|
20
|
-
{{ partial "footer_links/prefix.html" . }}
|
|
21
|
-
<div class="col-md-15">
|
|
22
|
-
<div class="row">
|
|
23
|
-
{{ partial "footer_links/links.html" . }}
|
|
24
|
-
</div>
|
|
25
|
-
</div>
|
|
26
|
-
{{ partial "footer_links/suffix.html" . }}
|
|
27
|
-
</div>
|
|
28
|
-
{{ partial "footer_links/footer-copyright.html" . }}
|
|
29
|
-
<a href="#" class="scrollup">{{ i18n "navigation-back-to-top" }}</a>
|
|
30
|
-
</div>
|
|
31
|
-
</footer>
|
|
32
|
-
|
|
@@ -1,24 +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
|
-
{{ $header_wrapper_class := .Params.header_wrapper_class | default .Site.Params.header_wrapper_class }}
|
|
15
|
-
|
|
16
|
-
{{ partial "google_tag_manager_no_script.html" . }}
|
|
17
|
-
<a class="sr-only" href="#content">{{ i18n "navigation-content-skip" }}</a>
|
|
18
|
-
<header class="header-wrapper {{ $header_wrapper_class }}" id="header">
|
|
19
|
-
{{ partial "toolbar.html" . }}
|
|
20
|
-
{{ partial "navbar.html" . }}
|
|
21
|
-
{{ partial "mobile_menu.html" . }}
|
|
22
|
-
{{ partial "mega_menu.html" . }}
|
|
23
|
-
{{ partial "jumbotron.html" . }}
|
|
24
|
-
</header>
|
|
@@ -1,102 +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
|
-
{{ $show_featured_story := .Page.Params.show_featured_story | default false }}
|
|
15
|
-
{{ $hide_jumbotron := .Page.Params.hide_jumbotron }}
|
|
16
|
-
{{ $jumbotron_container := .Page.Params.jumbotron_container | default "container" }}
|
|
17
|
-
{{ $custom_jumbotron_end := .Page.Params.custom_jumbotron_end }}
|
|
18
|
-
|
|
19
|
-
{{/*
|
|
20
|
-
We need to keep track of whether or not a jumbotron is present on the
|
|
21
|
-
page to know where to render the featured story.
|
|
22
|
-
*/}}
|
|
23
|
-
{{ .Scratch.Set "has_jumbotron" false }}
|
|
24
|
-
|
|
25
|
-
{{ if or (isset .Page.Params "headline") (eq $hide_jumbotron false) }}
|
|
26
|
-
{{ .Scratch.Set "has_jumbotron" true }}
|
|
27
|
-
|
|
28
|
-
<div class="jumbotron featured-jumbotron featured-jumbotron-dark margin-bottom-0">
|
|
29
|
-
<div class="{{ $jumbotron_container }}">
|
|
30
|
-
<div class="row">
|
|
31
|
-
<div class="{{- .Params.jumbotron_class | default .Site.Params.jumbotron_class | default "col-md-20 col-md-offset-2 col-sm-18 col-sm-offset-3" }}">
|
|
32
|
-
{{ if and (.Page.Params.headline) (ne .Page.Params.headline "") }}
|
|
33
|
-
<h1 class="featured-jumbotron-headline">
|
|
34
|
-
{{ if eq (.Page.Params.format_title | default .Site.Params.format_title) false }}
|
|
35
|
-
{{ .Page.Params.headline | safeHTML }}
|
|
36
|
-
{{ else }}
|
|
37
|
-
{{ .Page.Params.headline | title | safeHTML }}
|
|
38
|
-
{{ end }}
|
|
39
|
-
</h1>
|
|
40
|
-
{{ end }}
|
|
41
|
-
{{ if isset .Page.Params "subtitle" }}
|
|
42
|
-
<div class="featured-jumbotron-subtitle">{{ .Page.Params.subtitle | title | safeHTML }}</div>
|
|
43
|
-
{{ end }}
|
|
44
|
-
|
|
45
|
-
{{ if isset .Page.Params "tagline" }}
|
|
46
|
-
<div class="row">
|
|
47
|
-
<div class="{{- .Params.jumbotron_tagline_class | default .Site.Params.jumbotron_tagline_class | default "col-md-16" }}">
|
|
48
|
-
<p class="featured-jumbotron-tagline">{{ .Page.Params.tagline | safeHTML }}</p>
|
|
49
|
-
</div>
|
|
50
|
-
</div>
|
|
51
|
-
{{ end }}
|
|
52
|
-
|
|
53
|
-
{{ if isset .Page.Params "custom_jumbotron" }}
|
|
54
|
-
<div class="row">
|
|
55
|
-
<div class="{{- .Params.custom_jumbotron_class | default .Site.Params.custom_jumbotron_class | default "col-sm-18 col-sm-offset-3"}}">
|
|
56
|
-
{{ .Page.Params.custom_jumbotron | safeHTML }}
|
|
57
|
-
</div>
|
|
58
|
-
</div>
|
|
59
|
-
{{ end }}
|
|
60
|
-
|
|
61
|
-
{{ if isset .Page.Params "links" }}
|
|
62
|
-
{{- with .Params.jumbotron_btn_class | default .Site.Params.jumbotron_btn_class | default "btn btn-primary" }}
|
|
63
|
-
{{ $.Scratch.Set "jumbotron_btn" . }}
|
|
64
|
-
{{ end }}
|
|
65
|
-
<ul class="featured-jumbotron-links list-inline">
|
|
66
|
-
{{ range $key,$val := index .Page.Params.links}}
|
|
67
|
-
{{ $btn_class := "" }}
|
|
68
|
-
{{ with (index $val 2) }}
|
|
69
|
-
{{ $btn_class = .class }}
|
|
70
|
-
{{ else }}
|
|
71
|
-
{{ $btn_class = $.Scratch.Get "jumbotron_btn" }}
|
|
72
|
-
{{ end }}
|
|
73
|
-
<li>
|
|
74
|
-
<a class="{{ $btn_class }}" href="{{ (index $val 0).href}}" {{ with (index $val 3) -}} id="{{ .id | safeHTMLAttr }}" {{- end }}>
|
|
75
|
-
{{ (index $val 1).text}}
|
|
76
|
-
</a>
|
|
77
|
-
</li>
|
|
78
|
-
{{ end }}
|
|
79
|
-
</ul>
|
|
80
|
-
{{ end }}
|
|
81
|
-
<div class="featured-jumbotron-end">
|
|
82
|
-
{{ if (eq $show_featured_story true) }}
|
|
83
|
-
{{ $publish_target := .Page.Params.featured_content_publish_target | default .Site.Params.featured_content_publish_target | default "eclipse_org" }}
|
|
84
|
-
<div
|
|
85
|
-
class="eclipsefdn-featured-story"
|
|
86
|
-
data-template-id="template-featured-story-jumbotron"
|
|
87
|
-
data-publish-target="{{ $publish_target }}"
|
|
88
|
-
>
|
|
89
|
-
<div class="featured-container"></div>
|
|
90
|
-
</div>
|
|
91
|
-
{{ end }}
|
|
92
|
-
{{ if $custom_jumbotron_end }}
|
|
93
|
-
<div class="featured-jumbotron-end-custom">
|
|
94
|
-
{{ $custom_jumbotron_end | safeHTML }}
|
|
95
|
-
</div>
|
|
96
|
-
{{ end }}
|
|
97
|
-
</div>
|
|
98
|
-
</div>
|
|
99
|
-
</div>
|
|
100
|
-
</div>
|
|
101
|
-
</div>
|
|
102
|
-
{{ end }}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
{{/*
|
|
2
|
-
Copyright (c) 2019, 2023, 2024 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
|
-
Eric Poirier <eric.poirier@eclipse-foundation.org></eric.poirier>
|
|
10
|
-
Olivier Goulet <olivier.goulet@eclipse-foundation.org>
|
|
11
|
-
|
|
12
|
-
SPDX-License-Identifier: EPL-2.0
|
|
13
|
-
*/}}
|
|
14
|
-
|
|
15
|
-
<main>
|
|
16
|
-
<div class="{{- .Params.container | default .Site.Params.container | default "container padding-bottom-30"}}">
|
|
17
|
-
{{ if ne .Page.Params.hide_sidebar true }}
|
|
18
|
-
<div class="row">
|
|
19
|
-
<div class="{{- .Params.main_content_class | default .Site.Params.main_content_class | default "col-md-18"}}">
|
|
20
|
-
{{ end }}
|
|
21
|
-
{{ if ne .Page.Params.hide_breadcrumb true }}
|
|
22
|
-
{{ partial "breadcrumbs.html" . }}
|
|
23
|
-
{{ end }}
|
|
24
|
-
{{ if eq .Page.Params.is_deprecated true }}
|
|
25
|
-
{{ $msg := .Page.Params.deprecation_msg | default "This page is deprecated and may contain some information that is no longer relevant or accurate." }}
|
|
26
|
-
<div class="alert alert-danger margin-top-20" role="alert">
|
|
27
|
-
{{ $msg }}
|
|
28
|
-
</div>
|
|
29
|
-
{{ end }}
|
|
30
|
-
|
|
31
|
-
{{ if ne .Page.Params.hide_page_title true }}
|
|
32
|
-
<h1>
|
|
33
|
-
{{ if eq (.Page.Params.format_title | default .Site.Params.format_title) false }}
|
|
34
|
-
{{ .Title | safeHTML }}
|
|
35
|
-
{{ else }}
|
|
36
|
-
{{ .Title | safeHTML | title }}
|
|
37
|
-
{{ end }}
|
|
38
|
-
</h1>
|
|
39
|
-
{{ end }}
|
|
40
|
-
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
Copyright (c) 2019, 2024 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
|
-
Eric Poirier <eric.poirier@eclipse-foundation.org>
|
|
10
|
-
|
|
11
|
-
SPDX-License-Identifier: EPL-2.0
|
|
12
|
-
-->
|
|
13
|
-
|
|
14
|
-
{{ partial "related_links.html" .}}
|
|
15
|
-
|
|
16
|
-
{{ if ne .Page.Params.hide_sidebar true }}
|
|
17
|
-
{{ $sidebarLayout := .Page.Params.sidebar_layout | default .Site.Params.sidebar_layout | default "default" }}
|
|
18
|
-
</div>
|
|
19
|
-
<div class="{{- .Params.main_sidebar_class | default .Site.Params.main_sidebar_class | default "col-md-6 padding-bottom-30"}}">
|
|
20
|
-
{{ if eq $sidebarLayout "default" }}
|
|
21
|
-
{{ partial "sidebar.html" . }}
|
|
22
|
-
{{ else if eq $sidebarLayout "sidebar_block" }}
|
|
23
|
-
{{ partial "sidebar-block.html" . }}
|
|
24
|
-
{{ end }}
|
|
25
|
-
</div>
|
|
26
|
-
</div>
|
|
27
|
-
{{ end }}
|
|
28
|
-
</div>
|
|
29
|
-
</main>
|
|
30
|
-
|
|
@@ -1,65 +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
|
-
|
|
16
|
-
{{ $current_page := . }}
|
|
17
|
-
{{ $hide_ad := $.Site.Params.hide_ad | default true }}
|
|
18
|
-
{{ $header_ad_format := $.Site.Params.header_ad_format | default "ads_square" }}
|
|
19
|
-
{{ $megaMenu := .Site.Data.mega_menu }}
|
|
20
|
-
|
|
21
|
-
<div class="eclipsefdn-mega-menu">
|
|
22
|
-
{{ range (index .Site.Menus $main_menu) }}
|
|
23
|
-
{{ $menu_id := .Identifier | default (lower .Name) }}
|
|
24
|
-
{{ $menu_id = printf "%s-menu" $menu_id }}
|
|
25
|
-
|
|
26
|
-
<div class="mega-menu-submenu container hidden" data-menu-id="{{ $menu_id }}">
|
|
27
|
-
<div class="mega-menu-submenu-featured-story">
|
|
28
|
-
|
|
29
|
-
{{ if .Params.description }}
|
|
30
|
-
<p class="mega-menu-submenu-featured-story-heading">{{ .Params.heading | default .Name }}</p>
|
|
31
|
-
<p class="mega-menu-submenu-featured-story-text">{{ .Params.description }}</p>
|
|
32
|
-
{{ end }}
|
|
33
|
-
|
|
34
|
-
{{ with .Params.link }}
|
|
35
|
-
<a class="mega-menu-submenu-featured-story-btn btn btn-primary" href="{{ .url }}">{{ .text }}</a>
|
|
36
|
-
{{ end }}
|
|
37
|
-
|
|
38
|
-
</div>
|
|
39
|
-
<div class="mega-menu-submenu-links-section">
|
|
40
|
-
{{ range .Children }}
|
|
41
|
-
<div class="mega-menu-submenu-links">
|
|
42
|
-
<p class="menu-heading">{{ .Name }}</p>
|
|
43
|
-
<ul>
|
|
44
|
-
{{ range .Children }}
|
|
45
|
-
<li>
|
|
46
|
-
<a href="{{ .URL }}">{{ .Name }}</a>
|
|
47
|
-
</li>
|
|
48
|
-
{{ end }}
|
|
49
|
-
</ul>
|
|
50
|
-
</div>
|
|
51
|
-
{{ end }}
|
|
52
|
-
</div>
|
|
53
|
-
<div class="mega-menu-submenu-ad-wrapper">
|
|
54
|
-
{{ if eq $hide_ad false }}
|
|
55
|
-
<div
|
|
56
|
-
class="eclipsefdn-mega-menu-promo-content mega-menu-promo-content"
|
|
57
|
-
data-ad-format="ads_square"
|
|
58
|
-
data-ad-publish-to="eclipse_org_home"
|
|
59
|
-
>
|
|
60
|
-
</div>
|
|
61
|
-
{{ end }}
|
|
62
|
-
</div>
|
|
63
|
-
</div>
|
|
64
|
-
{{ end }}
|
|
65
|
-
</div>
|