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
|
@@ -15,9 +15,8 @@ baseURL = "https://webdev.eclipse.org/docs/hugo"
|
|
|
15
15
|
keywords = ["hugo", "solstice", "eclipse foundation"]
|
|
16
16
|
# logo = "images/logo/eclipse-foundation-white.svg"
|
|
17
17
|
# favicon = "images/favicon.ico"
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
js = "js/neptune.js"
|
|
18
|
+
styles = "css/quicksilver.css"
|
|
19
|
+
js = "js/solstice.js"
|
|
21
20
|
gcse = "011805775785170369411:p3ec0igo0qq"
|
|
22
21
|
gcse_result_url = "/search"
|
|
23
22
|
# eclipse_search_icon = "<i data-feather=\"search\" stroke-width=\"1\"></i>"
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
</head>
|
|
20
20
|
<body {{ with .Page.Params.body_class -}}class="{{ . }}"{{- end }}>
|
|
21
21
|
{{ block "header" . }}{{ partial "header.html" . }}{{ end }}
|
|
22
|
-
{{ block "breadcrumbs" . }}{{ if and (
|
|
22
|
+
{{ block "breadcrumbs" . }}{{ if and (ne .Page.Params.hide_breadcrumb true) (ne .Site.Params.hide_breadcrumb true) }}{{ partial "breadcrumbs.html" . }}{{ end }}{{ end }}
|
|
23
23
|
{{ block "featured_story" . }}{{ partial "featured_story.html" . }}{{ end }}
|
|
24
24
|
{{ block "main_prefix" . }}{{ partial "main_prefix.html" . }}{{ end }}
|
|
25
25
|
{{ block "main" . }}{{ .Content }}{{ end }}
|
|
@@ -11,6 +11,26 @@
|
|
|
11
11
|
SPDX-License-Identifier: EPL-2.0
|
|
12
12
|
*/}}
|
|
13
13
|
|
|
14
|
-
{{ $
|
|
14
|
+
{{ $breadcrumb_container := "container" }}
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
<div class="default-breadcrumbs hidden-print" id="breadcrumb">
|
|
17
|
+
<div class="{{ $breadcrumb_container }}">
|
|
18
|
+
<div class="row">
|
|
19
|
+
<div class="col-sm-24">
|
|
20
|
+
<ol aria-label="Breadcrumb" class="breadcrumb">
|
|
21
|
+
{{ template "breadcrumbnav" (dict "p1" . "p2" .) }}
|
|
22
|
+
</ol>
|
|
23
|
+
{{ define "breadcrumbnav" }}
|
|
24
|
+
{{ if .p1.Parent }}
|
|
25
|
+
{{ template "breadcrumbnav" (dict "p1" .p1.Parent "p2" .p2 ) }}
|
|
26
|
+
{{ else if not .p1.IsHome }}
|
|
27
|
+
{{ template "breadcrumbnav" (dict "p1" .p1.Site.Home "p2" .p2 ) }}
|
|
28
|
+
{{ end }}
|
|
29
|
+
<li {{ if eq .p1 .p2 }} class="active" aria-current="page"{{ end }}>
|
|
30
|
+
<a href="{{ .p1.Permalink }}">{{ if eq .p1.Params.format_title false }}{{ .p1.Title | safeHTML }}{{ else }}{{ .p1.Title | safeHTML | title }}{{ end }}</a>
|
|
31
|
+
</li>
|
|
32
|
+
{{ end }}
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
@@ -12,34 +12,20 @@
|
|
|
12
12
|
*/}}
|
|
13
13
|
|
|
14
14
|
{{ $show_featured_story := .Page.Params.show_featured_story }}
|
|
15
|
-
{{ $layout_style := $.Site.Params.layout_style | default "quicksilver" }}
|
|
16
|
-
|
|
17
|
-
{{/*
|
|
18
|
-
The `$has_jumbotron` scratch variable is set in the `jumbotron.html` partial.
|
|
19
|
-
*/}}
|
|
20
|
-
{{ $has_jumbotron := .Scratch.Get "has_jumbotron" }}
|
|
21
|
-
|
|
22
|
-
{{/*
|
|
23
|
-
Aside from Quicksilver, featured stories can appear in the jumbotron or in
|
|
24
|
-
the main content area. If no jumbotron was found on the page, we display this
|
|
25
|
-
partial's content.
|
|
26
|
-
*/}}
|
|
27
15
|
|
|
28
16
|
{{ if $show_featured_story }}
|
|
29
|
-
|
|
30
|
-
<div class="
|
|
31
|
-
<div class="
|
|
32
|
-
<div class="row">
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
<div class="
|
|
36
|
-
|
|
37
|
-
{{ .Site.Data.featuredstory.defaultRight | safeHTML }}
|
|
38
|
-
</div>
|
|
17
|
+
<div class="eclipsefdn-featured-story featured-story" id="featured-story" data-publish-target="{{ .Page.Params.featured_content_publish_target | default .Site.Params.featured_content_publish_target | default "eclipse_org"}}">
|
|
18
|
+
<div class="container">
|
|
19
|
+
<div class="row">
|
|
20
|
+
<div class="col-sm-12 col-sm-offset-2 col-md-16 col-md-offset-0 featured-story-block featured-story-block-content match-height-item-by-row featured-container">
|
|
21
|
+
</div>
|
|
22
|
+
<div class="col-sm-9 col-md-8 featured-side featured-story-block match-height-item-by-row">
|
|
23
|
+
<div class="featured-side-content text-center">
|
|
24
|
+
{{ .Site.Data.featuredstory.defaultRight | safeHTML }}
|
|
39
25
|
</div>
|
|
40
26
|
</div>
|
|
41
27
|
</div>
|
|
42
28
|
</div>
|
|
43
|
-
|
|
29
|
+
</div>
|
|
44
30
|
{{ end }}
|
|
45
31
|
|
|
@@ -5,10 +5,4 @@
|
|
|
5
5
|
publishtarget="eclipse_org"
|
|
6
6
|
type="popup"
|
|
7
7
|
></efsc-featured-story-popup>
|
|
8
|
-
<style>
|
|
9
|
-
:root {
|
|
10
|
-
/* Due to neptune's footer arch we need to add an offset so that the popup doesn't feels just cropped */
|
|
11
|
-
--efsc-popup-bottom-offset: 18rem;
|
|
12
|
-
}
|
|
13
|
-
</style>
|
|
14
8
|
{{ end }}
|
|
@@ -11,10 +11,16 @@
|
|
|
11
11
|
SPDX-License-Identifier: EPL-2.0
|
|
12
12
|
*/}}
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
{{
|
|
19
|
-
|
|
20
|
-
{{
|
|
14
|
+
<p id="back-to-top">
|
|
15
|
+
<a class="visible-xs" href="#top">{{ i18n "navigation-back-to-top" }}</a>
|
|
16
|
+
</p>
|
|
17
|
+
<footer id="{{- .Params.footer_id | default .Site.Params.footer_id | default "solstice-footer"}}" class="{{- .Params.footer_class | default .Site.Params.footer_class | default ""}}">
|
|
18
|
+
<div class="{{- .Params.footer_container_class | default .Site.Params.footer_container_class | default "container"}}">
|
|
19
|
+
<div class="row">
|
|
20
|
+
{{ partial "footer_links/prefix.html" . }}
|
|
21
|
+
{{ partial "footer_links/links.html" . }}
|
|
22
|
+
{{ partial "footer_links/suffix.html" . }}
|
|
23
|
+
<a href="#" class="scrollup">{{ i18n "navigation-back-to-top" }}</a>
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
</footer>
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
<div id="footer-js">
|
|
2
2
|
<!-- Placed at the end of the document so the pages load faster -->
|
|
3
3
|
{{- $default_js := "https://www.eclipse.org/eclipse.org-common/themes/solstice/public/javascript/main.min.js?var=0.0.250" -}}
|
|
4
|
-
{{- if eq .Site.Params.layout_style "astro" -}}
|
|
5
|
-
{{- $default_js = "https://www.eclipse.org/eclipse.org-common/themes/solstice/public/javascript/astro.min.js?var=0.0.250" -}}
|
|
6
|
-
{{- end -}}
|
|
7
4
|
{{- with .Site.Params.js | default $default_js }}
|
|
8
5
|
<script src="{{ . | relURL }}?v={{ now.Unix }}"></script>
|
|
9
6
|
{{ end }}
|
|
@@ -10,15 +10,11 @@
|
|
|
10
10
|
SPDX-License-Identifier: EPL-2.0
|
|
11
11
|
*/}}
|
|
12
12
|
|
|
13
|
-
{{ $layout_style := $.Site.Params.layout_style | default "quicksilver" }}
|
|
14
|
-
|
|
15
13
|
<div class="col-sm-24 margin-top-20">
|
|
16
14
|
<div class="row">
|
|
17
15
|
<div id="copyright" class="col-sm-16">
|
|
18
16
|
<p id="copyright-text">{{ i18n "footer-copyright-text" | safeHTML}}</p>
|
|
19
17
|
</div>
|
|
20
|
-
{{
|
|
21
|
-
{{ partial "socials.html" . }}
|
|
22
|
-
{{ end }}
|
|
18
|
+
{{ partial "socials.html" . }}
|
|
23
19
|
</div>
|
|
24
20
|
</div>
|
|
@@ -1,31 +1,15 @@
|
|
|
1
|
-
{{ $
|
|
2
|
-
|
|
3
|
-
{{
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
<
|
|
7
|
-
<
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
<li><a href="https://www.eclipse.org/careers/">{{ i18n "footer-foundation-careers-text" }}</a></li>
|
|
17
|
-
</ul>
|
|
18
|
-
</section>
|
|
19
|
-
{{ else if eq $layout_style "astro" }}
|
|
20
|
-
{{ $footer_eclipse_foundation_class := .Params.footer_section_eclipse_foundation_class | default .Site.Params.footer_section_eclipse_foundation_class | default "footer-section col-sm-8" }}
|
|
21
|
-
<section id="footer-eclipse-foundation" class="{{ $footer_eclipse_foundation_class }}">
|
|
22
|
-
<div class="menu-heading">{{ i18n "eclipse-foundation-text" }}</div>
|
|
23
|
-
<ul class="nav">
|
|
24
|
-
<li><a href="https://www.eclipse.org/org/">{{ i18n "footer-foundation-about-us-text" }}</a></li>
|
|
25
|
-
<li><a href="https://projects.eclipse.org/">Projects</a></li>
|
|
26
|
-
<li><a href="https://www.eclipse.org/collaborations/">Collaborations</a></li>
|
|
27
|
-
<li><a href="https://www.eclipse.org/membership/">{{ i18n "footer-foundation-members-text" }}</a></li>
|
|
28
|
-
<li><a href="https://www.eclipse.org/sponsor/">{{ i18n "footer-foundation-sponsor-text" }}</a></li>
|
|
29
|
-
</ul>
|
|
30
|
-
</section>
|
|
31
|
-
{{ end }}
|
|
1
|
+
{{ $footer_eclipse_foundation_class := .Params.footer_section_eclipse_foundation_class | default .Site.Params.footer_section_eclipse_foundation_class | default "col-sm-6 hidden-print" }}
|
|
2
|
+
<section class="{{ $footer_eclipse_foundation_class }}" id="footer-eclipse-foundation">
|
|
3
|
+
<h2 class="section-title">{{ i18n "eclipse-foundation-text" }}</h2>
|
|
4
|
+
<ul class="nav">
|
|
5
|
+
<li><a href="https://www.eclipse.org/org/">{{ i18n "footer-foundation-about-us-text" }}</a></li>
|
|
6
|
+
<li><a href="https://www.eclipse.org/org/foundation/contact.php">{{ i18n "footer-foundation-contact-us-text" }}</a></li>
|
|
7
|
+
<li><a href="https://www.eclipse.org/sponsor">{{ i18n "footer-foundation-sponsor-text" }}</a></li>
|
|
8
|
+
<li><a href="https://www.eclipse.org/membership">{{ i18n "footer-foundation-members-text" }}</a></li>
|
|
9
|
+
<li><a href="https://www.eclipse.org/org/documents/">{{ i18n "footer-foundation-governance-text" }}</a></li>
|
|
10
|
+
<li><a href="https://www.eclipse.org/org/documents/Community_Code_of_Conduct.php">{{ i18n "footer-foundation-code-of-conduct-text" }}</a></li>
|
|
11
|
+
<li><a href="https://www.eclipse.org/artwork/">{{ i18n "footer-foundation-logo-artwork-text" }}</a></li>
|
|
12
|
+
<li><a href="https://www.eclipse.org/org/foundation/directors.php">{{ i18n "footer-foundation-board-of-directors-text" }}</a></li>
|
|
13
|
+
<li><a href="https://www.eclipse.org/careers/">{{ i18n "footer-foundation-careers-text" }}</a></li>
|
|
14
|
+
</ul>
|
|
15
|
+
</section>
|
|
@@ -1,28 +1,11 @@
|
|
|
1
|
-
{{ $
|
|
2
|
-
|
|
3
|
-
{{
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
<
|
|
7
|
-
<
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
<li><a href="https://www.eclipse.org/legal/">{{ i18n "footer-legal-resources-text" }} </a></li>
|
|
13
|
-
</ul>
|
|
14
|
-
</section>
|
|
15
|
-
{{ else if eq $layout_style "astro" }}
|
|
16
|
-
{{ $footer_section_legal_class := .Params.footer_section_legal_class | default .Site.Params.footer_section_legal_class | default "footer-section col-sm-8" }}
|
|
17
|
-
<section id="footer-legal" class="{{ $footer_section_legal_class }}">
|
|
18
|
-
<div class="menu-heading">{{ i18n "footer-legal-section-text" }}</div>
|
|
19
|
-
<ul class="nav">
|
|
20
|
-
<li><a href="https://www.eclipse.org/legal/privacy/">{{ i18n "footer-legal-privacy-policy-text" }}</a></li>
|
|
21
|
-
<li><a href="https://www.eclipse.org/legal/terms-of-use/">{{ i18n "footer-legal-terms-use-text" }}</a></li>
|
|
22
|
-
<li><a href="https://www.eclipse.org/legal/compliance/">{{ i18n "footer-legal-compliance-text" }}</a></li>
|
|
23
|
-
<li><a href="https://www.eclipse.org/org/documents/Community_Code_of_Conduct.php">{{ i18n "footer-legal-code-of-conduct-text" }}</a></li>
|
|
24
|
-
<li><a href="https://www.eclipse.org/legal/">{{ i18n "footer-legal-resources-text" }}</a></li>
|
|
25
|
-
<li><a class="toolbar-manage-cookies" href="#" onclick="event.preventDefault()">{{ i18n "footer-legal-manage-cookies-label" }}</a></li>
|
|
26
|
-
</ul>
|
|
27
|
-
</section>
|
|
28
|
-
{{ end }}
|
|
1
|
+
{{ $footer_section_legal_class := .Params.footer_section_legal_class | default .Site.Params.footer_section_legal_class | default "col-sm-6 hidden-print" }}
|
|
2
|
+
<section class="{{ $footer_section_legal_class }}" id="footer-legal">
|
|
3
|
+
<h2 class="section-title">{{ i18n "footer-legal-section-text" }}</h2>
|
|
4
|
+
<ul class="nav">
|
|
5
|
+
<li><a href="https://www.eclipse.org/legal/privacy/">{{ i18n "footer-legal-privacy-policy-text" }}</a></li>
|
|
6
|
+
<li><a href="https://www.eclipse.org/legal/terms-of-use/">{{ i18n "footer-legal-terms-use-text" }}</a></li>
|
|
7
|
+
<li><a href="https://www.eclipse.org/legal/compliance/">{{ i18n "footer-legal-compliance-text" }}</a></li>
|
|
8
|
+
<li><a href="https://www.eclipse.org/legal/epl-2.0/">{{ i18n "footer-legal-epl-text" }}</a></li>
|
|
9
|
+
<li><a href="https://www.eclipse.org/legal/">{{ i18n "footer-legal-resources-text" }} </a></li>
|
|
10
|
+
</ul>
|
|
11
|
+
</section>
|
|
@@ -1,27 +1,12 @@
|
|
|
1
|
-
{{ $
|
|
2
|
-
|
|
3
|
-
{{
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
<
|
|
7
|
-
<
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
<li><a href="https://status.eclipse.org">{{ i18n "footer-other-status-text" }}</a></li>
|
|
14
|
-
</ul>
|
|
15
|
-
</section>
|
|
16
|
-
{{ else if eq $layout_style "astro" }}
|
|
17
|
-
{{ $footer_section_other_class := .Params.footer_section_other_class | default .Site.Params.footer_section_other_class | default "footer-section col-sm-8" }}
|
|
18
|
-
<section id="footer-more" class="{{ $footer_section_other_class }}">
|
|
19
|
-
<div class="menu-heading">{{ i18n "footer-other-section-text" }}</div>
|
|
20
|
-
<ul class="nav">
|
|
21
|
-
<li><a href="https://www.eclipse.org/security/">{{ i18n "footer-other-report-vulnerability-text" }}</a></li>
|
|
22
|
-
<li><a href="https://status.eclipse.org/">{{ i18n "footer-other-status-text" }}</a></li>
|
|
23
|
-
<li><a href="https://www.eclipse.org/org/foundation/contact.php">{{ i18n "footer-other-contact-text" }}</a></li>
|
|
24
|
-
<li><a href="https://www.eclipse.org/projects/support/">{{ i18n "footer-other-support-text" }}</a></li>
|
|
25
|
-
</ul>
|
|
26
|
-
</section>
|
|
27
|
-
{{ end }}
|
|
1
|
+
{{ $footer_section_other_class := .Params.footer_section_other_class | default .Site.Params.footer_section_other_class | default "col-sm-6 hidden-print" }}
|
|
2
|
+
<section class="{{ $footer_section_other_class }}" id="footer-other">
|
|
3
|
+
<h2 class="section-title">{{ i18n "footer-other-section-text" }}</h2>
|
|
4
|
+
<ul class="nav">
|
|
5
|
+
<li><a href="https://www.eclipse.org/ide/">{{ i18n "footer-other-tools-text" }}</a></li>
|
|
6
|
+
<li><a href="https://www.eclipse.org/projects">{{ i18n "footer-other-community-projects-text" }}</a></li>
|
|
7
|
+
<li><a href="https://www.eclipse.org/org/workinggroups/">{{ i18n "footer-other-working-groups-text" }}</a></li>
|
|
8
|
+
<li><a href="https://www.eclipse.org/org/research/">{{ i18n "footer-other-research-text" }}</a></li>
|
|
9
|
+
<li><a href="https://www.eclipse.org/security/">{{ i18n "footer-other-report-vulnerability-text" }}</a></li>
|
|
10
|
+
<li><a href="https://status.eclipse.org">{{ i18n "footer-other-status-text" }}</a></li>
|
|
11
|
+
</ul>
|
|
12
|
+
</section>
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
{{ $layout_style := $.Site.Params.layout_style | default "quicksilver" }}
|
|
2
|
-
|
|
3
1
|
{{ partial "footer_links/footer-eclipse-foundation.html" . }}
|
|
4
2
|
{{ partial "footer_links/footer-legal.html" . }}
|
|
5
|
-
{{
|
|
6
|
-
{{ partial "footer_links/footer-useful-links.html" . }}
|
|
7
|
-
{{ end }}
|
|
3
|
+
{{ partial "footer_links/footer-useful-links.html" . }}
|
|
8
4
|
{{ partial "footer_links/footer-other.html" . }}
|
|
9
|
-
{{
|
|
10
|
-
{{ partial "footer_links/footer-copyright.html" . }}
|
|
11
|
-
{{ end }}
|
|
5
|
+
{{ partial "footer_links/footer-copyright.html" . }}
|
|
@@ -11,28 +11,3 @@
|
|
|
11
11
|
SPDX-License-Identifier: EPL-2.0
|
|
12
12
|
*/}}
|
|
13
13
|
|
|
14
|
-
{{ $hide_footer_newsletter := $.Site.Params.hide_footer_newsletter | default false }}
|
|
15
|
-
|
|
16
|
-
{{ if eq $.Site.Params.layout_style "astro" }}
|
|
17
|
-
<div id="footer-end" class="footer-section col-md-8 col-md-offset-1 col-sm-24">
|
|
18
|
-
{{ if not $hide_footer_newsletter }}
|
|
19
|
-
<div class="footer-end-newsletter">
|
|
20
|
-
<form
|
|
21
|
-
id="mc-embedded-subscribe-form"
|
|
22
|
-
action="https://eclipse.us6.list-manage.com/subscribe/post?u=eaf9e1f06f194eadc66788a85&id=e7538485cd&f_id=00f9c2e1f0"
|
|
23
|
-
method="post"
|
|
24
|
-
novalidate
|
|
25
|
-
target="_blank"
|
|
26
|
-
>
|
|
27
|
-
<label class="footer-end-newsletter-label" for="email">Subscribe to our Newsletter</label>
|
|
28
|
-
<div class="footer-end-newsletter-input-wrapper">
|
|
29
|
-
<input class="footer-end-newsletter-input" type="email" id="email" name="EMAIL" autocomplete="email" placeholder="Enter your email address" />
|
|
30
|
-
<button class="footer-end-newsletter-submit btn btn-link" id="mc-embedded-subscribe" type="submit" name="subscribe">
|
|
31
|
-
<i class="fa fa-solid fa-envelope fa-lg" aria-hidden="true"></i>
|
|
32
|
-
</button>
|
|
33
|
-
</div>
|
|
34
|
-
</form>
|
|
35
|
-
</div>
|
|
36
|
-
{{ end }}
|
|
37
|
-
</div>
|
|
38
|
-
{{ end }}
|
|
@@ -75,21 +75,16 @@
|
|
|
75
75
|
<link rel="alternate" href="{{ .RelPermalink }}" type="application/rss+xml" title="">
|
|
76
76
|
{{ end }}
|
|
77
77
|
{{ if ne .Page.Params.disable_css "true" }}
|
|
78
|
-
{{- $default_css := "https://www.eclipse.org/public/css/quicksilver.css" -}}
|
|
79
|
-
{{-
|
|
80
|
-
|
|
81
|
-
{{
|
|
82
|
-
|
|
83
|
-
{{
|
|
84
|
-
{{-
|
|
85
|
-
|
|
86
|
-
{{
|
|
87
|
-
{{-
|
|
88
|
-
<link rel="stylesheet" href="{{ . | relURL }}?v={{ now.Unix }}">
|
|
89
|
-
{{- end }}
|
|
90
|
-
{{- with .Page.Params.page_css_file }}
|
|
91
|
-
<link rel="stylesheet" href="{{ . | relURL }}?v={{ now.Unix }}">
|
|
92
|
-
{{- end }}
|
|
78
|
+
{{- $default_css := "https://www.eclipse.org/public/css/quicksilver.css" -}}
|
|
79
|
+
{{- with .Site.Params.styles | default $default_css }}
|
|
80
|
+
<link rel="stylesheet" href="{{ . | relURL }}?v={{ now.Unix }}">
|
|
81
|
+
{{- end }}
|
|
82
|
+
{{- with .Site.Params.style_overrides }}
|
|
83
|
+
<link rel="stylesheet" href="{{ . | relURL }}?v={{ now.Unix }}">
|
|
84
|
+
{{- end }}
|
|
85
|
+
{{- with .Page.Params.page_css_file }}
|
|
86
|
+
<link rel="stylesheet" href="{{ . | relURL }}?v={{ now.Unix }}">
|
|
87
|
+
{{- end }}
|
|
93
88
|
{{- end }}
|
|
94
89
|
{{- partial "google_tag_manager.html" . }}
|
|
95
90
|
{{- partial "head_variables.html" . }}
|
|
@@ -12,6 +12,10 @@
|
|
|
12
12
|
SPDX-License-Identifier: EPL-2.0
|
|
13
13
|
*/}}
|
|
14
14
|
|
|
15
|
-
{{
|
|
16
|
-
|
|
17
|
-
{{
|
|
15
|
+
{{- partial "google_tag_manager_no_script.html" . }}
|
|
16
|
+
<a class="sr-only" href="#content">{{ i18n "navigation-content-skip" }}</a>
|
|
17
|
+
<header class="header-wrapper{{- with .Params.header_wrapper_class | default .Site.Params.header_wrapper_class }} {{ . }}{{end}}" id="header-wrapper">
|
|
18
|
+
{{ partial "toolbar.html" . }}
|
|
19
|
+
{{ partial "navbar.html" . }}
|
|
20
|
+
{{ partial "jumbotron.html" . }}
|
|
21
|
+
</header>
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
{{/*
|
|
1
|
+
{{/*
|
|
2
2
|
Copyright (c) 2018, 2023 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.
|
|
@@ -11,6 +12,54 @@
|
|
|
11
12
|
SPDX-License-Identifier: EPL-2.0
|
|
12
13
|
*/}}
|
|
13
14
|
|
|
14
|
-
{{
|
|
15
|
+
{{ if isset .Page.Params "headline" }}
|
|
16
|
+
<div class="jumbotron featured-jumbotron margin-bottom-0">
|
|
17
|
+
<div class="container">
|
|
18
|
+
<div class="row">
|
|
19
|
+
<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"}}">
|
|
20
|
+
<h1>
|
|
21
|
+
{{ if eq .Page.Params.format_title false }}
|
|
22
|
+
{{ .Page.Params.headline | safeHTML }}
|
|
23
|
+
{{ else }}
|
|
24
|
+
{{ .Page.Params.headline | title | safeHTML }}
|
|
25
|
+
{{ end }}
|
|
26
|
+
</h1>
|
|
27
|
+
{{ if isset .Page.Params "subtitle" }}
|
|
28
|
+
<h2>{{ .Page.Params.subtitle | title | safeHTML }}</h2>
|
|
29
|
+
{{end}}
|
|
30
|
+
|
|
31
|
+
{{ if isset .Page.Params "tagline" }}
|
|
32
|
+
<div class="row">
|
|
33
|
+
<div class="{{- .Params.jumbotron_tagline_class | default .Site.Params.jumbotron_tagline_class | default "col-sm-18 col-sm-offset-3"}}">
|
|
34
|
+
<p>{{ .Page.Params.tagline | safeHTML }}</p>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
{{end}}
|
|
38
|
+
|
|
39
|
+
{{ if isset .Page.Params "custom_jumbotron" }}
|
|
40
|
+
<div class="row">
|
|
41
|
+
<div class="{{- .Params.custom_jumbotron_class | default .Site.Params.custom_jumbotron_class | default "col-sm-18 col-sm-offset-3"}}">
|
|
42
|
+
{{ .Page.Params.custom_jumbotron | safeHTML }}
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
{{end}}
|
|
15
46
|
|
|
16
|
-
{{
|
|
47
|
+
{{ if isset .Page.Params "links" }}
|
|
48
|
+
{{- with .Params.jumbotron_btn_class | default .Site.Params.jumbotron_btn_class | default "btn btn-primary"}}{{ $.Scratch.Set "jumbotron_btn" . }}{{end}}
|
|
49
|
+
<ul class="list-inline">
|
|
50
|
+
{{range $key,$val := index .Page.Params.links}}
|
|
51
|
+
{{ $btn_class := "" }}
|
|
52
|
+
{{ with (index $val 2) }}
|
|
53
|
+
{{ $btn_class = .class }}
|
|
54
|
+
{{ else }}
|
|
55
|
+
{{ $btn_class = $.Scratch.Get "jumbotron_btn" }}
|
|
56
|
+
{{ end }}
|
|
57
|
+
<li><a class="{{ $btn_class }}" href="{{ (index $val 0).href}}">{{ (index $val 1).text}}</a></li>
|
|
58
|
+
{{end}}
|
|
59
|
+
</ul>
|
|
60
|
+
{{end}}
|
|
61
|
+
</div>
|
|
62
|
+
</div>
|
|
63
|
+
</div>
|
|
64
|
+
</div>
|
|
65
|
+
{{ end }}
|
|
@@ -1,15 +1,37 @@
|
|
|
1
|
-
{{/*
|
|
2
|
-
Copyright (c)
|
|
1
|
+
{{/*
|
|
2
|
+
Copyright (c) 2019 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
|
+
Eric Poirier <eric.poirier@eclipse-foundation.org>
|
|
9
10
|
|
|
10
11
|
SPDX-License-Identifier: EPL-2.0
|
|
11
12
|
*/}}
|
|
12
13
|
|
|
13
|
-
{{
|
|
14
|
+
{{ partial "collapsible-menu.html" . }}
|
|
15
|
+
<main>
|
|
16
|
+
<div class="{{- .Params.container | default .Site.Params.container | default "container"}}">
|
|
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 padding-bottom-30"}}">
|
|
20
|
+
{{ end }}
|
|
21
|
+
|
|
22
|
+
{{ if eq .Page.Params.is_deprecated true }}
|
|
23
|
+
<div class="alert alert-danger margin-top-20" role="alert">
|
|
24
|
+
This page is deprecated and may contain some information that is no longer relevant or accurate.
|
|
25
|
+
</div>
|
|
26
|
+
{{ end }}
|
|
27
|
+
|
|
28
|
+
{{ if ne .Page.Params.hide_page_title true }}
|
|
29
|
+
<h1>
|
|
30
|
+
{{ if eq .Page.Params.format_title false }}
|
|
31
|
+
{{ .Title | safeHTML }}
|
|
32
|
+
{{ else }}
|
|
33
|
+
{{ .Title | safeHTML | title }}
|
|
34
|
+
{{ end }}
|
|
35
|
+
</h1>
|
|
36
|
+
{{ end }}
|
|
14
37
|
|
|
15
|
-
{{ partial (printf "%s/main_prefix.html" $layout_style) . }}
|
|
@@ -11,6 +11,20 @@
|
|
|
11
11
|
SPDX-License-Identifier: EPL-2.0
|
|
12
12
|
-->
|
|
13
13
|
|
|
14
|
-
{{
|
|
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>
|
|
15
30
|
|
|
16
|
-
{{ partial (printf "%s/main_suffix.html" $layout_style) . }}
|
|
@@ -16,14 +16,63 @@
|
|
|
16
16
|
{{ .Scratch.Set "main_menu" .Page.Params.main_menu }}
|
|
17
17
|
{{ else if (index .Site.Menus "main") }}
|
|
18
18
|
{{ .Scratch.Set "main_menu" "main" }}
|
|
19
|
-
{{ else if (eq .Site.Params.layout_style "neptune") }}
|
|
20
|
-
{{ .Scratch.Set "main_menu" "neptune" }}
|
|
21
|
-
{{ else if (eq .Site.Params.layout_style "astro") }}
|
|
22
|
-
{{ .Scratch.Set "main_menu" "astro" }}
|
|
23
19
|
{{ else }}
|
|
24
20
|
{{ .Scratch.Set "main_menu" "quicksilver" }}
|
|
25
21
|
{{ end }}
|
|
26
22
|
|
|
27
|
-
{{ $
|
|
23
|
+
{{ $main_menu := .Scratch.Get "main_menu" }}
|
|
28
24
|
|
|
29
|
-
{{
|
|
25
|
+
{{ $currentNode := . }}
|
|
26
|
+
{{ range (index .Site.Menus $main_menu) }}
|
|
27
|
+
{{ if .HasChildren }}
|
|
28
|
+
{{ $multicol := false }}
|
|
29
|
+
{{ range .Children }}
|
|
30
|
+
{{ if .HasChildren }}
|
|
31
|
+
{{ $multicol = true }}
|
|
32
|
+
{{ end }}
|
|
33
|
+
{{ end }}
|
|
34
|
+
<li class="dropdown {{ if $multicol -}} eclipse-more {{- end }}">
|
|
35
|
+
<a href="#" data-toggle="dropdown" class="dropdown-toggle">
|
|
36
|
+
{{ .Pre }}
|
|
37
|
+
<span>{{ .Name }}</span>
|
|
38
|
+
<b class="caret"></b>
|
|
39
|
+
</a>
|
|
40
|
+
<ul class="dropdown-menu">
|
|
41
|
+
{{ if eq $multicol true }}
|
|
42
|
+
{{ $colClass := "col-sm-12" }}
|
|
43
|
+
{{ if gt (len .Children) 2 }}
|
|
44
|
+
{{ $colClass = "col-sm-8" }}
|
|
45
|
+
{{ end }}
|
|
46
|
+
<li>
|
|
47
|
+
<!-- Content container to add padding -->
|
|
48
|
+
<div class="yamm-content">
|
|
49
|
+
<div class="row">
|
|
50
|
+
{{ range .Children }}
|
|
51
|
+
<ul class="{{ $colClass }} list-unstyled padding-bottom-20">
|
|
52
|
+
<li><p><a href="{{.URL}}"><strong>{{ .Name }}</strong></a></p>
|
|
53
|
+
</li>
|
|
54
|
+
{{ range .Children }}
|
|
55
|
+
<li {{if $currentNode.IsMenuCurrent "{{ $main_menu }}" . }} class="active"{{end}}><a href="{{.URL}}">{{ .Name }}</a> </li>
|
|
56
|
+
{{ end }}
|
|
57
|
+
</ul>
|
|
58
|
+
{{ end }}
|
|
59
|
+
</div>
|
|
60
|
+
</div>
|
|
61
|
+
</li>
|
|
62
|
+
{{ else }}
|
|
63
|
+
{{ range .Children }}
|
|
64
|
+
<li {{if $currentNode.IsMenuCurrent "{{ $main_menu }}" . }} class="active"{{end}}><a href="{{.URL}}">{{ .Name }}</a> </li>
|
|
65
|
+
{{ end }}
|
|
66
|
+
{{ end }}
|
|
67
|
+
</ul>
|
|
68
|
+
{{else}}
|
|
69
|
+
<li>
|
|
70
|
+
<a class="" href="{{.URL}}">
|
|
71
|
+
{{ .Pre }}
|
|
72
|
+
{{ .Name }}
|
|
73
|
+
</a>
|
|
74
|
+
{{end}}
|
|
75
|
+
</li>
|
|
76
|
+
{{end}}
|
|
77
|
+
{{ partial "nav_more.html" . }}
|
|
78
|
+
{{ partial "google_search.html" . }}
|