eclipsefdn-hugo-solstice-theme 0.0.185 → 0.0.187

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 (63) hide show
  1. package/exampleSite/config/_default/config.toml +6 -4
  2. package/exampleSite/config/_default/menus.en.toml +31 -12
  3. package/exampleSite/content/components/eclipsefdn_projects.md +1 -1
  4. package/exampleSite/content/components/eclipsefdn_projects_page.md +7 -2
  5. package/exampleSite/content/components/featured_story/featured-story-jumbotron.md +9 -0
  6. package/exampleSite/content/custom-jumbotron/_index.md +3 -2
  7. package/exampleSite/content/custom-jumbotron-end/_index.md +8 -0
  8. package/exampleSite/content/jumbotron_featured_story/_index.md +7 -0
  9. package/exampleSite/content/templates/footer.md +4 -0
  10. package/exampleSite/content/templates/header.md +7 -0
  11. package/i18n/de.toml +3 -3
  12. package/i18n/en.toml +22 -13
  13. package/i18n/ru.toml +3 -3
  14. package/i18n/tr.toml +3 -3
  15. package/i18n/zh.toml +3 -3
  16. package/layouts/404.html +22 -28
  17. package/layouts/_default/baseof.html +1 -1
  18. package/layouts/partials/astro/footer.html +26 -0
  19. package/layouts/partials/astro/header.html +24 -0
  20. package/layouts/partials/astro/jumbotron.html +90 -0
  21. package/layouts/partials/astro/main_prefix.html +39 -0
  22. package/layouts/partials/astro/mega_menu.html +68 -0
  23. package/layouts/partials/astro/mobile_menu.html +63 -0
  24. package/layouts/partials/astro/nav.html +40 -0
  25. package/layouts/partials/astro/navbar.html +42 -0
  26. package/layouts/partials/astro/sidebar.html +70 -0
  27. package/layouts/partials/astro/socials.html +58 -0
  28. package/layouts/partials/astro/toolbar.html +77 -0
  29. package/layouts/partials/breadcrumbs.html +30 -18
  30. package/layouts/partials/featured_story.html +41 -11
  31. package/layouts/partials/footer.html +8 -17
  32. package/layouts/partials/footer_js.html +5 -0
  33. package/layouts/partials/footer_links/footer-copyright.html +4 -2
  34. package/layouts/partials/footer_links/footer-eclipse-foundation.html +31 -14
  35. package/layouts/partials/footer_links/footer-legal.html +28 -10
  36. package/layouts/partials/footer_links/footer-other.html +27 -11
  37. package/layouts/partials/footer_links/links.html +6 -3
  38. package/layouts/partials/footer_links/suffix.html +34 -0
  39. package/layouts/partials/header.html +8 -10
  40. package/layouts/partials/jumbotron.html +6 -42
  41. package/layouts/partials/main_prefix.html +6 -27
  42. package/layouts/partials/mega_menu.html +15 -0
  43. package/layouts/partials/mobile_menu.html +18 -0
  44. package/layouts/partials/nav.html +2 -55
  45. package/layouts/partials/navbar.html +6 -61
  46. package/layouts/partials/quicksilver/footer.html +26 -0
  47. package/layouts/partials/quicksilver/header.html +21 -0
  48. package/layouts/partials/quicksilver/jumbotron.html +54 -0
  49. package/layouts/partials/quicksilver/main_prefix.html +37 -0
  50. package/layouts/partials/quicksilver/nav.html +70 -0
  51. package/layouts/partials/quicksilver/navbar.html +74 -0
  52. package/layouts/partials/quicksilver/sidebar.html +45 -0
  53. package/layouts/partials/quicksilver/socials.html +29 -0
  54. package/layouts/partials/quicksilver/toolbar.html +39 -0
  55. package/layouts/partials/sidebar.html +9 -38
  56. package/layouts/partials/socials.html +15 -16
  57. package/layouts/partials/toolbar.html +7 -31
  58. package/layouts/shortcodes/eclipsefdn_projects.html +15 -5
  59. package/layouts/templates/footer.html +25 -0
  60. package/layouts/templates/header.html +26 -0
  61. package/package.json +5 -2
  62. package/webpack.mix.js +16 -2
  63. /package/exampleSite/content/components/{featured_story.md → featured_story/_index.md} +0 -0
@@ -14,21 +14,23 @@ baseURL = "https://webdev.eclipse.org/docs/hugo"
14
14
  keywords = ["hugo", "solstice", "eclipse foundation"]
15
15
  # logo = "images/logo/eclipse-foundation-white.svg"
16
16
  # favicon = "images/favicon.ico"
17
- styles = "css/styles.css"
18
- js = "js/solstice.js"
17
+ layout_style = "astro"
18
+ styles = "css/astro.css"
19
+ js = "js/astro.js"
19
20
  gcse = "011805775785170369411:p3ec0igo0qq"
20
21
  gcse_result_url = "/search"
21
22
  # eclipse_search_icon = "<i data-feather=\"search\" stroke-width=\"1\"></i>"
22
23
  header_wrapper_class = "header-default-bg-img"
23
24
  call_for_action_text = "Download"
24
- call_for_action_url = "/downloads"
25
- call_for_action_icon = "fa-download"
25
+ call_for_action_url = "https://eclipse.org/downloads"
26
+ call_for_action_icon = ""
26
27
  show_events = true
27
28
  table_classes = "table table-bordered"
28
29
  hide_cfa_same_page = true
29
30
  show_collapsible_menu = true
30
31
  sidebar_layout = "default"
31
32
  hide_deprecation_warnings = true
33
+ hide_ad = false
32
34
 
33
35
  [Author]
34
36
  name = "Christopher Guindon"
@@ -5,71 +5,90 @@
5
5
  weight = 2
6
6
  identifier = "examples"
7
7
 
8
+ [main.params]
9
+ description = """
10
+ Examples of the different layouts and features offered by Hugo Solstice Theme.
11
+ """
12
+
13
+ [[main]]
14
+ name = "Layouts"
15
+ url = "#"
16
+ weight = 1
17
+ parent = "examples"
18
+ identifier = "layouts"
19
+
20
+ [[main]]
21
+ name = "Features"
22
+ url = "#"
23
+ weight = 2
24
+ parent = "examples"
25
+ identifier = "features"
26
+
8
27
  [[main]]
9
28
  name = "Single Page"
10
29
  url = "/single_page/"
11
30
  weight = 1
12
- parent = "examples"
31
+ parent = "layouts"
13
32
 
14
33
  [[main]]
15
34
  name = "News sample"
16
35
  url = "/news/"
17
36
  weight = 2
18
- parent = "examples"
37
+ parent = "layouts"
19
38
 
20
39
  [[main]]
21
40
  name = "Membership sample"
22
41
  url = "/membership/"
23
42
  weight = 3
24
- parent = "examples"
43
+ parent = "features"
25
44
 
26
45
  [[main]]
27
46
  name = "Events sample"
28
47
  url = "/events/"
29
48
  weight = 3
30
- parent = "examples"
49
+ parent = "features"
31
50
 
32
51
  [[main]]
33
52
  name = "FAQ sample"
34
53
  url = "/faq/"
35
54
  weight = 4
36
- parent = "examples"
55
+ parent = "features"
37
56
 
38
57
  [[main]]
39
58
  name = "Hide Call For Action"
40
59
  url = "/hide_call_for_action/"
41
60
  weight = 5
42
- parent = "examples"
61
+ parent = "features"
43
62
 
44
63
  [[main]]
45
64
  name = "Without Breadcrumb"
46
65
  url = "/without_breadcrumb/"
47
66
  weight = 6
48
- parent = "examples"
67
+ parent = "features"
49
68
 
50
69
  [[main]]
51
70
  name = "multi-children mobile sidebar sample"
52
71
  url = "/third-parent/"
53
72
  weight = 7
54
- parent = "examples"
73
+ parent = "layouts"
55
74
 
56
75
  [[main]]
57
76
  name = "Subsite Custom Logo"
58
77
  url = "/subsite-1/"
59
78
  weight = 8
60
- parent = "examples"
79
+ parent = "layouts"
61
80
 
62
81
  [[main]]
63
82
  name = "Custom Jumbotron"
64
83
  url = "/custom-jumbotron/"
65
84
  weight = 9
66
- parent = "examples"
85
+ parent = "layouts"
67
86
 
68
87
  [[main]]
69
88
  name = "Coming Soon"
70
89
  url = "/coming-soon/"
71
90
  weight = 10
72
- parent = "examples"
91
+ parent = "layouts"
73
92
 
74
93
  [[main]]
75
94
  name = "Components"
@@ -364,4 +383,4 @@
364
383
  parent = "custom-menu"
365
384
  name = "Go Home"
366
385
  url = "/"
367
- weight = 1
386
+ weight = 1
@@ -9,4 +9,4 @@ Using the `eclipsefdn_projects.yaml` generated as part of the installation of th
9
9
 
10
10
  Following list of projects has been filtered using the working group "jakarta-ee":
11
11
 
12
- {{< eclipsefdn_project_list projects_working_group="jakarta-ee" >}}
12
+ {{< eclipsefdn_project_list projects_working_group="jakarta-ee" >}}
@@ -17,15 +17,20 @@ can be filtered by category or search.
17
17
  | `display_categories` | `bool` | Toggle the display of category filters. |
18
18
  | `categories` | `string \| nil` | Path to the JSON file containing project categories. |
19
19
  | `is_static_source` | `bool \| nil` | If projects are from an endpoint other than the PMI, set this to `true`. |
20
+ | `sorting_method` | `string \| nil` | Accepts the following: `"alphanumeric"`, `"random"`. |
21
+ | `page_size` | `number \| nil` | Set the maximum number of projects to display. |
20
22
 
21
23
  ## Examples
22
24
 
23
- Following list of projects has been filtered to display "Jakarta EE" projects:
25
+ Following list of projects has been filtered to display "Jakarta EE" projects, randomly sorted, and with a page size of 3:
24
26
 
25
27
  {{< eclipsefdn_projects templateId="tpl-projects-item"
26
28
  url="https://projects.eclipse.org/api/projects?working_group=jakarta-ee"
27
- classes="margin-top-30" display_categories="true"
29
+ classes="margin-top-30"
30
+ display_categories="true"
28
31
  categories="/js/featured-projects-categories.json"
32
+ page_size="3"
33
+ sorting_method="random"
29
34
  >}}
30
35
 
31
36
  {{< grid/div isMarkdown="false" >}}
@@ -0,0 +1,9 @@
1
+ ---
2
+ title: Featured Story in Jumbotron
3
+ headline: Featured Story
4
+ tagline: It can also appear in the jumbotron...
5
+ show_featured_story: true
6
+ layout: single
7
+ ---
8
+
9
+ Featured story can also appear in the jumbotron instead of the main content of a webpage.
@@ -8,7 +8,8 @@ hide_breadcrumb: true
8
8
  summary: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed imperdiet tortor id rhoncus pulvinar. Suspendisse nec aliquam ante. Sed vel convallis ex, ac elementum nisi."
9
9
  links: [[href: "#",text: "Call for Papers"]]
10
10
  layout: single
11
+ show_featured_story: true
12
+ show_featured_footer: false
11
13
  ---
12
14
 
13
-
14
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed imperdiet tortor id rhoncus pulvinar. Suspendisse nec aliquam ante. Sed vel convallis ex, ac elementum nisi. Nam eros lectus, tempus sit amet lorem at, laoreet blandit enim. Vestibulum metus justo, venenatis mollis ex quis, pretium ultricies orci. Pellentesque accumsan nulla ac leo convallis ornare. Cras rhoncus sapien lacus, vel tincidunt nibh lacinia ac. Vivamus vel egestas mi. Morbi nulla ante, rutrum quis congue non, luctus vehicula dui. Sed et nisi eu est egestas rhoncus.
15
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed imperdiet tortor id rhoncus pulvinar. Suspendisse nec aliquam ante. Sed vel convallis ex, ac elementum nisi. Nam eros lectus, tempus sit amet lorem at, laoreet blandit enim. Vestibulum metus justo, venenatis mollis ex quis, pretium ultricies orci. Pellentesque accumsan nulla ac leo convallis ornare. Cras rhoncus sapien lacus, vel tincidunt nibh lacinia ac. Vivamus vel egestas mi. Morbi nulla ante, rutrum quis congue non, luctus vehicula dui. Sed et nisi eu est egestas rhoncus.
@@ -0,0 +1,8 @@
1
+ ---
2
+ title: Custom Jumbotron End
3
+ headline: Custom Jumbotron End
4
+ subtitle: Insert custom content at the bottom of the jumbotron
5
+ links: [[href: '#', text: 'Some link']]
6
+ custom_jumbotron_end: |
7
+ <p>This line is custom content.</p>
8
+ ---
@@ -0,0 +1,7 @@
1
+ ---
2
+ title: Jumbotron with Featured Story
3
+ headline: Jumbotron with Featured Story
4
+ show_featured_story: true
5
+ show_featured_footer: true
6
+ hide_page_title: true
7
+ ---
@@ -0,0 +1,4 @@
1
+ ---
2
+ layout: footer
3
+ metatag_robots: noindex
4
+ ---
@@ -0,0 +1,7 @@
1
+ ---
2
+ title: "{{TITLE}}"
3
+ Description: "!!DESCRIPTION!!"
4
+ Keywords: "{{KEYWORDS}}"
5
+ layout: header
6
+ metatag_robots: noindex
7
+ ---
package/i18n/de.toml CHANGED
@@ -22,9 +22,6 @@ other = "Mitglieder"
22
22
  [footer-foundation-governance-text]
23
23
  other = "Governance"
24
24
 
25
- [footer-foundation-code-of-conduct-text]
26
- other = "Code of Conduct"
27
-
28
25
  [footer-foundation-logo-artwork-text]
29
26
  other = "Logos und Vorlagen"
30
27
 
@@ -34,6 +31,9 @@ other = "Vorstand"
34
31
  [footer-legal-section-text]
35
32
  other = "Recht"
36
33
 
34
+ [footer-legal-code-of-conduct-text]
35
+ other = "Code of Conduct"
36
+
37
37
  [footer-legal-privacy-policy-text]
38
38
  other = "Datenschutz"
39
39
 
package/i18n/en.toml CHANGED
@@ -8,7 +8,7 @@
8
8
  other = "Edit my account"
9
9
 
10
10
  [footer-foundation-about-us-text]
11
- other = "About Us"
11
+ other = "About"
12
12
 
13
13
  [footer-foundation-contact-us-text]
14
14
  other = "Contact Us"
@@ -20,14 +20,11 @@
20
20
  other = "Careers"
21
21
 
22
22
  [footer-foundation-members-text]
23
- other = "Members"
23
+ other = "Membership"
24
24
 
25
25
  [footer-foundation-governance-text]
26
26
  other = "Governance"
27
27
 
28
- [footer-foundation-code-of-conduct-text]
29
- other = "Code of Conduct"
30
-
31
28
  [footer-foundation-logo-artwork-text]
32
29
  other = "Logo and Artwork"
33
30
 
@@ -37,6 +34,9 @@
37
34
  [footer-legal-section-text]
38
35
  other = "Legal"
39
36
 
37
+ [footer-legal-code-of-conduct-text]
38
+ other = "Code of Conduct"
39
+
40
40
  [footer-legal-privacy-policy-text]
41
41
  other = "Privacy Policy"
42
42
 
@@ -52,6 +52,9 @@
52
52
  [footer-legal-resources-text]
53
53
  other = "Legal Resources"
54
54
 
55
+ [footer-legal-manage-cookies-label]
56
+ other = "Manage Cookies"
57
+
55
58
  [footer-useful-links-section-text]
56
59
  other = "Useful Links"
57
60
 
@@ -74,11 +77,23 @@
74
77
  other = "Marketplace"
75
78
 
76
79
  [footer-other-section-text]
77
- other = "Other"
80
+ other = "More"
78
81
 
79
82
  [footer-other-tools-text]
80
83
  other = "IDE and Tools"
81
84
 
85
+ [footer-other-contact-text]
86
+ other = "Contact Us"
87
+
88
+ [footer-other-support-text]
89
+ other = "Support"
90
+
91
+ [footer-other-report-vulnerability-text]
92
+ other = "Report a Vulnerability"
93
+
94
+ [footer-other-status-text]
95
+ other = "Service Status"
96
+
82
97
  [footer-other-community-projects-text]
83
98
  other = "Projects"
84
99
 
@@ -88,12 +103,6 @@
88
103
  [footer-other-research-text]
89
104
  other = "Research@Eclipse"
90
105
 
91
- [footer-other-report-vulnerability-text]
92
- other = "Report a Vulnerability"
93
-
94
- [footer-other-status-text]
95
- other = "Service Status"
96
-
97
106
  [footer-sr-twitter-text]
98
107
  other = "Twitter account"
99
108
 
@@ -185,7 +194,7 @@
185
194
  other = "Newcomer Forum"
186
195
 
187
196
  [footer-copyright-text]
188
- other = "Copyright &copy; Eclipse Foundation. All Rights Reserved."
197
+ other = "Copyright &copy; Eclipse Foundation, Inc. All Rights Reserved."
189
198
 
190
199
  [search-section-label]
191
200
  other = "Search"
package/i18n/ru.toml CHANGED
@@ -22,15 +22,15 @@
22
22
  [footer-foundation-governance-text]
23
23
  other = "Управление"
24
24
 
25
- [footer-foundation-code-of-conduct-text]
26
- other = "Поведенческий код"
27
-
28
25
  [footer-foundation-logo-artwork-text]
29
26
  other = "Лого и художественное оформление"
30
27
 
31
28
  [footer-foundation-board-of-directors-text]
32
29
  other = "Борд директоров"
33
30
 
31
+ [footer-legal-code-of-conduct-text]
32
+ other = "Поведенческий код"
33
+
34
34
  [footer-legal-section-text]
35
35
  other = "Юридическая информация"
36
36
 
package/i18n/tr.toml CHANGED
@@ -22,9 +22,6 @@ other = "Üyeler"
22
22
  [footer-foundation-governance-text]
23
23
  other = "Yönetim"
24
24
 
25
- [footer-foundation-code-of-conduct-text]
26
- other = "Etik Kurallar"
27
-
28
25
  [footer-foundation-logo-artwork-text]
29
26
  other = "Logo ve Görsel"
30
27
 
@@ -34,6 +31,9 @@ other = "Yönetim Kurulu"
34
31
  [footer-legal-section-text]
35
32
  other = "Yasal"
36
33
 
34
+ [footer-legal-code-of-conduct-text]
35
+ other = "Etik Kurallar"
36
+
37
37
  [footer-legal-privacy-policy-text]
38
38
  other = "Gizlilik Politikası"
39
39
 
package/i18n/zh.toml CHANGED
@@ -34,9 +34,6 @@
34
34
  [footer-foundation-governance-text]
35
35
  other = "治理"
36
36
 
37
- [footer-foundation-code-of-conduct-text]
38
- other = "行为准则"
39
-
40
37
  [footer-foundation-logo-artwork-text]
41
38
  other = "徽标和设计元素"
42
39
 
@@ -46,6 +43,9 @@
46
43
  [footer-legal-section-text]
47
44
  other = "法律条款"
48
45
 
46
+ [footer-legal-code-of-conduct-text]
47
+ other = "行为准则"
48
+
49
49
  [footer-legal-privacy-policy-text]
50
50
  other = "隐私政策"
51
51
 
package/layouts/404.html CHANGED
@@ -1,32 +1,26 @@
1
- {{ define "breadcrumbs"}}{{ partial "breadcrumbs.html" . }}{{end}}
1
+ {{ define "breadcrumbs"}}{{end}}
2
2
  {{ define "main" }}
3
+ <div class="padding-bottom-30">
4
+ <h1>{{ i18n "not-found-template-heading" }}</h1>
5
+ <p>{{ i18n "not-found-template-content" }}</p>
6
+ <ul>
7
+ <li><a href="//eclipse.org">{{ i18n "not-found-template-eclipse-home" }}</a></li>
8
+ <li>{{ i18n "not-found-template-search-link" | safeHTML }}</li>
9
+ <li>{{ i18n "not-found-template-privacy-terms-of-use" | safeHTML }}</li>
10
+ <li><a href="//eclipse.org/legal">{{ i18n "not-found-template-legal-documents" }}</a></li>
11
+ <li><a href="//eclipse.org/artwork/">{{ i18n "not-found-template-logos-artwork" }}</a></li>
12
+ <li><a href="//wiki.eclipse.org/index.php/Webmaster_FAQ">{{ i18n "not-found-template-webmaster-faq" }}</a></li>
13
+ <li><a href="mailto:webmaster@eclipse.org">{{ i18n "not-found-template-email-webmaster" }}</a></li>
14
+ </ul>
15
+ </div>
16
+ {{ end }}
17
+
18
+ {{ define "main_prefix" }}
3
19
  <main>
4
- <div class="container">
5
- <div class="row">
6
- <div class="col-md-18 padding-bottom-30">
7
- <h1>{{ i18n "not-found-template-heading" }}</h1>
8
- <p>{{ i18n "not-found-template-content" }}</p>
9
- <ul>
10
- <li><a href="//eclipse.org">{{ i18n "not-found-template-eclipse-home" }}</a></li>
11
- <li>{{ i18n "not-found-template-search-link" | safeHTML }}</li>
12
- <li>{{ i18n "not-found-template-privacy-terms-of-use" | safeHTML }}</li>
13
- <li><a href="//eclipse.org/legal">{{ i18n "not-found-template-legal-documents" }}</a></li>
14
- <li><a href="//eclipse.org/artwork/">{{ i18n "not-found-template-logos-artwork" }}</a></li>
15
- <li><a href="//wiki.eclipse.org/index.php/Webmaster_FAQ">{{ i18n "not-found-template-webmaster-faq" }}</a></li>
16
- <li><a href="mailto:webmaster@eclipse.org">{{ i18n "not-found-template-email-webmaster" }}</a></li>
17
- </ul>
18
- <br><br>
19
- </div>
20
- <div class="col-md-18">
21
- <div class="sideitem">
22
- <h6>{{ i18n "not-found-template-useful-links" }}</h6>
23
- <ul>
24
- <li><a href="//archive.eclipse.org">{{ i18n "not-found-template-project-archives" }}</a></li>
25
- <li><a href="//download.eclipse.org/eclipse/downloads">{{ i18n "not-found-template-project-downloads" }}</a></li>
26
- </ul>
27
- </div>
28
- </div>
29
- </div>
30
- </div>
20
+ <div class="container">
21
+ {{ end }}
22
+
23
+ {{ define "main_suffix" }}
24
+ </div>
31
25
  </main>
32
26
  {{ end }}
@@ -19,7 +19,7 @@
19
19
  </head>
20
20
  <body>
21
21
  {{ block "header" . }}{{ partial "header.html" . }}{{ end }}
22
- {{ block "breadcrumbs" . }}{{ if and (ne .Page.Params.hide_breadcrumb true) (ne .Site.Params.hide_breadcrumb true) }}{{ partial "breadcrumbs.html" . }}{{end}}{{ end }}
22
+ {{ block "breadcrumbs" . }}{{ if and (and (ne .Page.Params.hide_breadcrumb true) (ne .Site.Params.hide_breadcrumb true)) (eq .Site.Params.layout_style "quicksilver") }}{{ 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 }}
@@ -0,0 +1,26 @@
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 id="footer">
17
+ <div class="container">
18
+ <div class="footer-sections row equal-height-md font-bold">
19
+ {{ partial "footer_links/prefix.html" . }}
20
+ {{ partial "footer_links/links.html" . }}
21
+ {{ partial "footer_links/suffix.html" . }}
22
+ </div>
23
+ {{ partial "footer_links/footer-copyright.html" . }}
24
+ <a href="#" class="scrollup">{{ i18n "navigation-back-to-top" }}</a>
25
+ </div>
26
+ </footer>
@@ -0,0 +1,24 @@
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>
@@ -0,0 +1,90 @@
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 featured-jumbotron-astro 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">{{ .Page.Params.headline | title | safeHTML }}</h1>
34
+ {{ end }}
35
+ {{ if isset .Page.Params "subtitle" }}
36
+ <div class="featured-jumbotron-subtitle">{{ .Page.Params.subtitle | title }}</div>
37
+ {{ end }}
38
+
39
+ {{ if isset .Page.Params "tagline" }}
40
+ <div class="row">
41
+ <div class="{{- .Params.jumbotron_tagline_class | default .Site.Params.jumbotron_tagline_class | default "col-md-16" }}">
42
+ <p class="featured-jumbotron-tagline">{{ .Page.Params.tagline | safeHTML }}</p>
43
+ </div>
44
+ </div>
45
+ {{ end }}
46
+
47
+ {{ if isset .Page.Params "custom_jumbotron" }}
48
+ <div class="row">
49
+ <div class="{{- .Params.custom_jumbotron_class | default .Site.Params.custom_jumbotron_class | default "col-sm-18 col-sm-offset-3"}}">
50
+ {{ .Page.Params.custom_jumbotron | safeHTML }}
51
+ </div>
52
+ </div>
53
+ {{ end }}
54
+
55
+ {{ if isset .Page.Params "links" }}
56
+ {{- with .Params.jumbotron_btn_class | default .Site.Params.jumbotron_btn_class | default "btn btn-primary" }}
57
+ {{ $.Scratch.Set "jumbotron_btn" . }}
58
+ {{ end }}
59
+ <ul class="list-inline">
60
+ {{ range $key,$val := index .Page.Params.links}}
61
+ <li>
62
+ <a class="{{ $.Scratch.Get "jumbotron_btn" }}" href="{{ (index $val 0).href}}">
63
+ {{ (index $val 1).text}}
64
+ </a>
65
+ </li>
66
+ {{ end }}
67
+ </ul>
68
+ {{ end }}
69
+ <div class="featured-jumbotron-end">
70
+ {{ if (eq $show_featured_story true) }}
71
+ {{ $publish_target := .Page.Params.featured_content_publish_target | default .Site.Params.featured_content_publish_target | default "eclipse_org" }}
72
+ <div
73
+ class="eclipsefdn-featured-story"
74
+ data-template-id="template-featured-story-jumbotron"
75
+ data-publish-target="{{ $publish_target }}"
76
+ >
77
+ <div class="featured-container"></div>
78
+ </div>
79
+ {{ end }}
80
+ {{ if $custom_jumbotron_end }}
81
+ <div class="featured-jumbotron-end-custom">
82
+ {{ $custom_jumbotron_end | safeHTML }}
83
+ </div>
84
+ {{ end }}
85
+ </div>
86
+ </div>
87
+ </div>
88
+ </div>
89
+ </div>
90
+ {{ end }}
@@ -0,0 +1,39 @@
1
+ {{/*
2
+ Copyright (c) 2019, 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
+ 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"}}">
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
+ {{ if ne .Page.Params.hide_breadcrumb true }}
22
+ {{ partial "breadcrumbs.html" . }}
23
+ {{ end }}
24
+ {{ if eq .Page.Params.is_deprecated true }}
25
+ <div class="alert alert-danger margin-top-20" role="alert">
26
+ This page is deprecated and may contain some information that is no longer relevant or accurate.
27
+ </div>
28
+ {{ end }}
29
+
30
+ {{ if ne .Page.Params.hide_page_title true }}
31
+ <h1>
32
+ {{ if eq .Page.Params.format_title false }}
33
+ {{ .Title | safeHTML }}
34
+ {{ else }}
35
+ {{ .Title | safeHTML | title }}
36
+ {{ end }}
37
+ </h1>
38
+ {{ end }}
39
+