eclipsefdn-hugo-solstice-theme 0.3.3 → 2.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.
Files changed (65) hide show
  1. package/config.toml +0 -660
  2. package/exampleSite/config/_default/config.toml +2 -3
  3. package/layouts/_default/baseof.html +0 -1
  4. package/layouts/partials/breadcrumbs.html +28 -2
  5. package/layouts/partials/featured_story.html +1 -8
  6. package/layouts/partials/featured_story_popup.html +0 -6
  7. package/layouts/partials/footer.html +20 -8
  8. package/layouts/partials/footer_js.html +1 -4
  9. package/layouts/partials/footer_links/footer-copyright.html +0 -5
  10. package/layouts/partials/footer_links/footer-eclipse-foundation.html +11 -31
  11. package/layouts/partials/footer_links/footer-legal.html +12 -28
  12. package/layouts/partials/footer_links/footer-other.html +10 -27
  13. package/layouts/partials/footer_links/links.html +0 -8
  14. package/layouts/partials/footer_links/suffix.html +21 -23
  15. package/layouts/partials/head.html +10 -15
  16. package/layouts/partials/header.html +12 -5
  17. package/layouts/partials/jumbotron.html +91 -5
  18. package/layouts/partials/main_prefix.html +29 -4
  19. package/layouts/partials/main_suffix.html +16 -2
  20. package/layouts/partials/mega_menu.html +53 -3
  21. package/layouts/partials/mobile_menu.html +95 -5
  22. package/layouts/partials/nav.html +62 -9
  23. package/layouts/partials/navbar.html +37 -4
  24. package/layouts/partials/sidebar.html +68 -5
  25. package/layouts/partials/socials.html +85 -4
  26. package/layouts/partials/toolbar.html +65 -3
  27. package/package.json +3 -3
  28. package/webpack.mix.js +0 -18
  29. package/layouts/partials/astro/breadcrumbs.html +0 -42
  30. package/layouts/partials/astro/footer.html +0 -32
  31. package/layouts/partials/astro/header.html +0 -24
  32. package/layouts/partials/astro/jumbotron.html +0 -102
  33. package/layouts/partials/astro/main_prefix.html +0 -40
  34. package/layouts/partials/astro/main_suffix.html +0 -30
  35. package/layouts/partials/astro/mega_menu.html +0 -65
  36. package/layouts/partials/astro/mobile_menu.html +0 -108
  37. package/layouts/partials/astro/nav.html +0 -74
  38. package/layouts/partials/astro/navbar.html +0 -51
  39. package/layouts/partials/astro/sidebar.html +0 -79
  40. package/layouts/partials/astro/socials.html +0 -97
  41. package/layouts/partials/astro/toolbar.html +0 -77
  42. package/layouts/partials/neptune/breadcrumbs.html +0 -35
  43. package/layouts/partials/neptune/footer.html +0 -73
  44. package/layouts/partials/neptune/header.html +0 -24
  45. package/layouts/partials/neptune/jumbotron.html +0 -90
  46. package/layouts/partials/neptune/main_prefix.html +0 -38
  47. package/layouts/partials/neptune/main_suffix.html +0 -13
  48. package/layouts/partials/neptune/mega_menu.html +0 -61
  49. package/layouts/partials/neptune/mobile_menu.html +0 -54
  50. package/layouts/partials/neptune/nav.html +0 -60
  51. package/layouts/partials/neptune/navbar.html +0 -130
  52. package/layouts/partials/neptune/sidebar.html +0 -73
  53. package/layouts/partials/neptune/socials.html +0 -22
  54. package/layouts/partials/neptune/toolbar.html +0 -11
  55. package/layouts/partials/quicksilver/breadcrumbs.html +0 -42
  56. package/layouts/partials/quicksilver/footer.html +0 -26
  57. package/layouts/partials/quicksilver/header.html +0 -21
  58. package/layouts/partials/quicksilver/jumbotron.html +0 -66
  59. package/layouts/partials/quicksilver/main_prefix.html +0 -37
  60. package/layouts/partials/quicksilver/main_suffix.html +0 -30
  61. package/layouts/partials/quicksilver/nav.html +0 -70
  62. package/layouts/partials/quicksilver/navbar.html +0 -74
  63. package/layouts/partials/quicksilver/sidebar.html +0 -45
  64. package/layouts/partials/quicksilver/socials.html +0 -91
  65. package/layouts/partials/quicksilver/toolbar.html +0 -39
@@ -11,6 +11,32 @@
11
11
  SPDX-License-Identifier: EPL-2.0
12
12
  */}}
13
13
 
14
- {{ $layout_style := $.Site.Params.layout_style | default "quicksilver" }}
14
+ {{ $breadcrumb_container := "" }}
15
+
16
+ {{ if 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
+
15
42
 
16
- {{ partial (printf "%s/breadcrumbs.html" $layout_style) . }}
@@ -12,21 +12,14 @@
12
12
  */}}
13
13
 
14
14
  {{ $show_featured_story := .Page.Params.show_featured_story }}
15
- {{ $layout_style := $.Site.Params.layout_style | default "quicksilver" }}
16
15
 
17
16
  {{/*
18
17
  The `$has_jumbotron` scratch variable is set in the `jumbotron.html` partial.
19
18
  */}}
20
19
  {{ $has_jumbotron := .Scratch.Get "has_jumbotron" }}
21
20
 
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
-
28
21
  {{ if $show_featured_story }}
29
- {{ if and (or (eq $layout_style "quicksilver") (not $has_jumbotron)) (ne $layout_style "neptune") }}
22
+ {{ if not $has_jumbotron }}
30
23
  <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"}}">
31
24
  <div class="container">
32
25
  <div class="row">
@@ -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 }}
@@ -1,20 +1,32 @@
1
1
  {{/*
2
- Copyright (c) 2018, 2023 Eclipse Foundation, Inc.
2
+ Copyright (c) 2023 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
- Christopher Guindon <chris.guindon@eclipse-foundation.org>
9
8
  Olivier Goulet <olivier.goulet@eclipse-foundation.org>
10
9
 
11
10
  SPDX-License-Identifier: EPL-2.0
12
11
  */}}
13
12
 
14
- {{ $layout_style := $.Site.Params.layout_style | default "quicksilver" }}
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>
15
32
 
16
- {{ if eq $.Site.Params.website_type "Working Group" }}
17
- {{ partial "working_group_footer.html" . }}
18
- {{ else }}
19
- {{ partial (printf "%s/footer.html" $layout_style) . }}
20
- {{ end }}
@@ -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
- {{- $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 -}}
3
+ {{- $default_js := "https://www.eclipse.org/eclipse.org-common/themes/solstice/public/javascript/astro.min.js" -}}
7
4
  {{- with .Site.Params.js | default $default_js }}
8
5
  <script src="{{ . | relURL }}?v={{ now.Unix }}"></script>
9
6
  {{ end }}
@@ -10,15 +10,10 @@
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
- {{ if eq $layout_style "quicksilver" }}
21
- {{ partial "socials.html" . }}
22
- {{ end }}
23
18
  </div>
24
19
  </div>
@@ -1,31 +1,11 @@
1
- {{ $layout_style := $.Site.Params.layout_style | default "quicksilver" }}
2
-
3
- {{ if eq $layout_style "quicksilver" }}
4
- {{ $footer_eclipse_foundation_class := .Params.footer_section_eclipse_foundation_class | default .Site.Params.footer_section_eclipse_foundation_class | default "col-sm-6 hidden-print" }}
5
- <section class="{{ $footer_eclipse_foundation_class }}" id="footer-eclipse-foundation">
6
- <h2 class="section-title">{{ i18n "eclipse-foundation-text" }}</h2>
7
- <ul class="nav">
8
- <li><a href="https://www.eclipse.org/org/">{{ i18n "footer-foundation-about-us-text" }}</a></li>
9
- <li><a href="https://www.eclipse.org/org/foundation/contact.php">{{ i18n "footer-foundation-contact-us-text" }}</a></li>
10
- <li><a href="https://www.eclipse.org/sponsor">{{ i18n "footer-foundation-sponsor-text" }}</a></li>
11
- <li><a href="https://www.eclipse.org/membership">{{ i18n "footer-foundation-members-text" }}</a></li>
12
- <li><a href="https://www.eclipse.org/org/documents/">{{ i18n "footer-foundation-governance-text" }}</a></li>
13
- <li><a href="https://www.eclipse.org/org/documents/Community_Code_of_Conduct.php">{{ i18n "footer-foundation-code-of-conduct-text" }}</a></li>
14
- <li><a href="https://www.eclipse.org/artwork/">{{ i18n "footer-foundation-logo-artwork-text" }}</a></li>
15
- <li><a href="https://www.eclipse.org/org/foundation/directors.php">{{ i18n "footer-foundation-board-of-directors-text" }}</a></li>
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 "footer-section col-sm-8" }}
2
+ <section id="footer-eclipse-foundation" class="{{ $footer_eclipse_foundation_class }}">
3
+ <div class="menu-heading">{{ i18n "eclipse-foundation-text" }}</div>
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://projects.eclipse.org/">Projects</a></li>
7
+ <li><a href="https://www.eclipse.org/collaborations/">Collaborations</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/sponsor/">{{ i18n "footer-foundation-sponsor-text" }}</a></li>
10
+ </ul>
11
+ </section>
@@ -1,28 +1,12 @@
1
- {{ $layout_style := $.Site.Params.layout_style | default "quicksilver" }}
2
-
3
- {{ if eq $layout_style "quicksilver" }}
4
- {{ $footer_section_legal_class := .Params.footer_section_legal_class | default .Site.Params.footer_section_legal_class | default "col-sm-6 hidden-print" }}
5
- <section class="{{ $footer_section_legal_class }}" id="footer-legal">
6
- <h2 class="section-title">{{ i18n "footer-legal-section-text" }}</h2>
7
- <ul class="nav">
8
- <li><a href="https://www.eclipse.org/legal/privacy/">{{ i18n "footer-legal-privacy-policy-text" }}</a></li>
9
- <li><a href="https://www.eclipse.org/legal/terms-of-use/">{{ i18n "footer-legal-terms-use-text" }}</a></li>
10
- <li><a href="https://www.eclipse.org/legal/compliance/">{{ i18n "footer-legal-compliance-text" }}</a></li>
11
- <li><a href="https://www.eclipse.org/legal/epl-2.0/">{{ i18n "footer-legal-epl-text" }}</a></li>
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 "footer-section col-sm-8" }}
2
+ <section id="footer-legal" class="{{ $footer_section_legal_class }}">
3
+ <div class="menu-heading">{{ i18n "footer-legal-section-text" }}</div>
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/org/documents/Community_Code_of_Conduct.php">{{ i18n "footer-legal-code-of-conduct-text" }}</a></li>
9
+ <li><a href="https://www.eclipse.org/legal/">{{ i18n "footer-legal-resources-text" }}</a></li>
10
+ <li><a class="toolbar-manage-cookies" href="#" onclick="event.preventDefault()">{{ i18n "footer-legal-manage-cookies-label" }}</a></li>
11
+ </ul>
12
+ </section>
@@ -1,27 +1,10 @@
1
- {{ $layout_style := $.Site.Params.layout_style | default "quicksilver" }}
2
-
3
- {{ if eq $layout_style "quicksilver" }}
4
- {{ $footer_section_other_class := .Params.footer_section_other_class | default .Site.Params.footer_section_other_class | default "col-sm-6 hidden-print" }}
5
- <section class="{{ $footer_section_other_class }}" id="footer-other">
6
- <h2 class="section-title">{{ i18n "footer-other-section-text" }}</h2>
7
- <ul class="nav">
8
- <li><a href="https://www.eclipse.org/ide/">{{ i18n "footer-other-tools-text" }}</a></li>
9
- <li><a href="https://www.eclipse.org/projects">{{ i18n "footer-other-community-projects-text" }}</a></li>
10
- <li><a href="https://www.eclipse.org/org/workinggroups/">{{ i18n "footer-other-working-groups-text" }}</a></li>
11
- <li><a href="https://www.eclipse.org/org/research/">{{ i18n "footer-other-research-text" }}</a></li>
12
- <li><a href="https://www.eclipse.org/security/">{{ i18n "footer-other-report-vulnerability-text" }}</a></li>
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 "footer-section col-sm-8" }}
2
+ <section id="footer-more" class="{{ $footer_section_other_class }}">
3
+ <div class="menu-heading">{{ i18n "footer-other-section-text" }}</div>
4
+ <ul class="nav">
5
+ <li><a href="https://www.eclipse.org/security/">{{ i18n "footer-other-report-vulnerability-text" }}</a></li>
6
+ <li><a href="https://status.eclipse.org/">{{ i18n "footer-other-status-text" }}</a></li>
7
+ <li><a href="https://www.eclipse.org/org/foundation/contact.php">{{ i18n "footer-other-contact-text" }}</a></li>
8
+ <li><a href="https://www.eclipse.org/projects/support/">{{ i18n "footer-other-support-text" }}</a></li>
9
+ </ul>
10
+ </section>
@@ -1,11 +1,3 @@
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
- {{ if eq $.Site.Params.layout_style "quicksilver" }}
6
- {{ partial "footer_links/footer-useful-links.html" . }}
7
- {{ end }}
8
3
  {{ partial "footer_links/footer-other.html" . }}
9
- {{ if eq $layout_style "quicksilver" }}
10
- {{ partial "footer_links/footer-copyright.html" . }}
11
- {{ end }}
@@ -13,26 +13,24 @@
13
13
 
14
14
  {{ $hide_footer_newsletter := $.Site.Params.hide_footer_newsletter | default false }}
15
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&amp;id=e7538485cd&amp;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 }}
16
+ <div id="footer-end" class="footer-section col-md-8 col-md-offset-1 col-sm-24">
17
+ {{ if not $hide_footer_newsletter }}
18
+ <div class="footer-end-newsletter">
19
+ <form
20
+ id="mc-embedded-subscribe-form"
21
+ action="https://eclipse.us6.list-manage.com/subscribe/post?u=eaf9e1f06f194eadc66788a85&amp;id=e7538485cd&amp;f_id=00f9c2e1f0"
22
+ method="post"
23
+ novalidate
24
+ target="_blank"
25
+ >
26
+ <label class="footer-end-newsletter-label" for="email">Subscribe to our Newsletter</label>
27
+ <div class="footer-end-newsletter-input-wrapper">
28
+ <input class="footer-end-newsletter-input" type="email" id="email" name="EMAIL" autocomplete="email" placeholder="Enter your email address" />
29
+ <button class="footer-end-newsletter-submit btn btn-link" id="mc-embedded-subscribe" type="submit" name="subscribe">
30
+ <i class="fa fa-solid fa-envelope fa-lg" aria-hidden="true"></i>
31
+ </button>
32
+ </div>
33
+ </form>
34
+ </div>
35
+ {{ end }}
36
+ </div>
@@ -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
- {{- if eq .Site.Params.layout_style "astro" -}}
80
- {{- $default_css = "https://www.eclipse.org/public/css/astro.css" -}}
81
- {{ else if eq .Site.Params.layout_style "neptune" -}}
82
- {{- $default_css = "https://www.eclipse.org/public/css/neptune.css" -}}
83
- {{- end -}}
84
- {{- with .Site.Params.styles | default $default_css }}
85
- <link rel="stylesheet" href="{{ . | relURL }}?v={{ now.Unix }}">
86
- {{- end }}
87
- {{- with .Site.Params.style_overrides }}
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/astro.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" . }}
@@ -1,17 +1,24 @@
1
- {{/*
2
- Copyright (c) 2018, 2023 Eclipse Foundation, Inc.
1
+ {{/*
2
+ Copyright (c) 2023 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
6
6
  http://www.eclipse.org/legal/epl-2.0.
7
7
 
8
8
  Contributors:
9
- Christopher Guindon <chris.guindon@eclipse-foundation.org>
10
9
  Olivier Goulet <olivier.goulet@eclipse-foundation.org>
11
10
 
12
11
  SPDX-License-Identifier: EPL-2.0
13
12
  */}}
14
13
 
15
- {{ $layout_style := $.Site.Params.layout_style | default "quicksilver" }}
14
+ {{ $header_wrapper_class := .Params.header_wrapper_class | default .Site.Params.header_wrapper_class }}
16
15
 
17
- {{ partial (printf "%s/header.html" $layout_style) . }}
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,16 +1,102 @@
1
- {{/*
2
- Copyright (c) 2018, 2023 Eclipse Foundation, Inc.
1
+ {{/*
2
+ Copyright (c) 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.
6
7
 
7
8
  Contributors:
8
- Christopher Guindon <chris.guindon@eclipse-foundation.org>
9
9
  Olivier Goulet <olivier.goulet@eclipse-foundation.org>
10
10
 
11
11
  SPDX-License-Identifier: EPL-2.0
12
12
  */}}
13
13
 
14
- {{ $layout_style := $.Site.Params.layout_style | default "quicksilver" }}
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 }}
15
60
 
16
- {{ partial (printf "%s/jumbotron.html" $layout_style) . }}
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,15 +1,40 @@
1
- {{/*
2
- Copyright (c) 2023 Eclipse Foundation, Inc.
1
+ {{/*
2
+ Copyright (c) 2019, 2023, 2024 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:
9
+ Eric Poirier <eric.poirier@eclipse-foundation.org></eric.poirier>
8
10
  Olivier Goulet <olivier.goulet@eclipse-foundation.org>
9
11
 
10
12
  SPDX-License-Identifier: EPL-2.0
11
13
  */}}
12
14
 
13
- {{ $layout_style := $.Site.Params.layout_style | default "quicksilver" }}
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 }}
14
40
 
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
- {{ $layout_style := $.Site.Params.layout_style | default "quicksilver" }}
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) . }}