eclipsefdn-hugo-solstice-theme 0.0.206 → 0.0.207

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.
@@ -178,18 +178,6 @@
178
178
  weight = 3
179
179
  parent = "solstice"
180
180
 
181
- [[main]]
182
- name = "Project list"
183
- url = "/components/project_list/"
184
- weight = 3
185
- parent = "solstice"
186
-
187
- [[main]]
188
- name = "EclipseFdn Project list"
189
- url = "/components/eclipsefdn_projects/"
190
- weight = 3
191
- parent = "solstice"
192
-
193
181
  [[main]]
194
182
  name = "EclipseFdn Projects page"
195
183
  url = "/components/eclipsefdn_projects_page/"
@@ -104,7 +104,7 @@
104
104
  url = "/components/meeting_minutes/"
105
105
  weight = 3
106
106
  parent = "solstice"
107
-
107
+
108
108
  [[main]]
109
109
  name = "Membership"
110
110
  url = "/components/members/"
@@ -176,18 +176,6 @@
176
176
  url = "/components/adopters"
177
177
  weight = 3
178
178
  parent = "solstice"
179
-
180
- [[main]]
181
- name = "Project list"
182
- url = "/components/project_list/"
183
- weight = 3
184
- parent = "solstice"
185
-
186
- [[main]]
187
- name = "EclipseFdn Project list"
188
- url = "/components/eclipsefdn_projects/"
189
- weight = 3
190
- parent = "solstice"
191
179
 
192
180
  [[main]]
193
181
  name = "HTML Tables"
@@ -104,7 +104,7 @@
104
104
  url = "/components/meeting_minutes/"
105
105
  weight = 3
106
106
  parent = "solstice"
107
-
107
+
108
108
  [[main]]
109
109
  name = "Membres"
110
110
  url = "/components/members/"
@@ -153,18 +153,6 @@
153
153
  weight = 3
154
154
  parent = "solstice"
155
155
 
156
- [[main]]
157
- name = "Liste de projects"
158
- url = "/components/project_list/"
159
- weight = 3
160
- parent = "solstice"
161
-
162
- [[main]]
163
- name = "Liste de projects d'EclipseFdn"
164
- url = "/components/eclipsefdn_projects/"
165
- weight = 3
166
- parent = "solstice"
167
-
168
156
  [[main]]
169
157
  name = "Tableaux HTML"
170
158
  url = "/components/tables/"
@@ -104,7 +104,7 @@
104
104
  url = "/components/meeting_minutes/"
105
105
  weight = 3
106
106
  parent = "solstice"
107
-
107
+
108
108
  [[main]]
109
109
  name = "Membership"
110
110
  url = "/components/members/"
@@ -153,18 +153,6 @@
153
153
  weight = 3
154
154
  parent = "solstice"
155
155
 
156
- [[main]]
157
- name = "Project list"
158
- url = "/components/project_list/"
159
- weight = 3
160
- parent = "solstice"
161
-
162
- [[main]]
163
- name = "EclipseFdn Project list"
164
- url = "/components/eclipsefdn_projects/"
165
- weight = 3
166
- parent = "solstice"
167
-
168
156
  [[main]]
169
157
  name = "HTML Tables"
170
158
  url = "/components/tables/"
@@ -188,7 +176,7 @@
188
176
  url = "/components/twitter_button/"
189
177
  weight = 3
190
178
  parent = "solstice"
191
-
179
+
192
180
  [[main]]
193
181
  name = "Video List"
194
182
  url = "/components/video_list"
@@ -104,7 +104,7 @@
104
104
  url = "/components/meeting_minutes/"
105
105
  weight = 3
106
106
  parent = "solstice"
107
-
107
+
108
108
  [[main]]
109
109
  name = "Membership"
110
110
  url = "/components/members/"
@@ -153,18 +153,6 @@
153
153
  weight = 3
154
154
  parent = "solstice"
155
155
 
156
- [[main]]
157
- name = "Project list"
158
- url = "/components/project_list/"
159
- weight = 3
160
- parent = "solstice"
161
-
162
- [[main]]
163
- name = "EclipseFdn Project list"
164
- url = "/components/eclipsefdn_projects/"
165
- weight = 3
166
- parent = "solstice"
167
-
168
156
  [[main]]
169
157
  name = "HTML Tables"
170
158
  url = "/components/tables/"
@@ -104,7 +104,7 @@
104
104
  url = "/components/meeting_minutes/"
105
105
  weight = 3
106
106
  parent = "solstice"
107
-
107
+
108
108
  [[main]]
109
109
  name = "Membership"
110
110
  url = "/components/members/"
@@ -153,18 +153,6 @@
153
153
  weight = 3
154
154
  parent = "solstice"
155
155
 
156
- [[main]]
157
- name = "Project list"
158
- url = "/components/project_list/"
159
- weight = 3
160
- parent = "solstice"
161
-
162
- [[main]]
163
- name = "EclipseFdn Project list"
164
- url = "/components/eclipsefdn_projects/"
165
- weight = 3
166
- parent = "solstice"
167
-
168
156
  [[main]]
169
157
  name = "HTML Tables"
170
158
  url = "/components/tables/"
@@ -104,7 +104,7 @@
104
104
  url = "/components/meeting_minutes/"
105
105
  weight = 3
106
106
  parent = "solstice"
107
-
107
+
108
108
  [[main]]
109
109
  name = "Membership"
110
110
  url = "/components/members/"
@@ -153,18 +153,6 @@
153
153
  weight = 3
154
154
  parent = "solstice"
155
155
 
156
- [[main]]
157
- name = "Project list"
158
- url = "/components/project_list/"
159
- weight = 3
160
- parent = "solstice"
161
-
162
- [[main]]
163
- name = "EclipseFdn Project list"
164
- url = "/components/eclipsefdn_projects/"
165
- weight = 3
166
- parent = "solstice"
167
-
168
156
  [[main]]
169
157
  name = "HTML Tables"
170
158
  url = "/components/tables/"
@@ -8,9 +8,9 @@ When this shortcode is passed `is_static_source`, you must provide it a `url` wh
8
8
  *If you are on localhost, ensure you disable CORS in your browser to view.*
9
9
 
10
10
  **Example:**
11
- {{< eclipsefdn_projects
12
- is_static_source="true"
13
- url="/data/static-projects.json"
14
- templateId="tpl-projects-item"
11
+ {{< eclipsefdn_projects
12
+ is_static_source="true"
13
+ url="/docs/hugo/data/static-projects.json"
14
+ templateId="tpl-projects-item"
15
15
  >}}
16
16
 
@@ -1,6 +1,10 @@
1
1
  <div id="footer-js">
2
2
  <!-- Placed at the end of the document so the pages load faster -->
3
- {{- with .Site.Params.js | default "https://www.eclipse.org/eclipse.org-common/themes/solstice/public/javascript/main.min.js"}}
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
+ {{- with .Site.Params.js | default $default_js }}
4
8
  <script src="{{ . | relURL }}?v={{ now.Unix }}"></script>
5
9
  {{ end }}
6
10
 
@@ -68,7 +68,11 @@
68
68
  <link rel="alternate" href="{{ .RelPermalink }}" type="application/rss+xml" title="">
69
69
  {{ end }}
70
70
  {{ if ne .Page.Params.disable_css "true" }}
71
- {{- with .Site.Params.styles | default "https://eclipse.org/eclipse.org-common/themes/solstice/public/stylesheets/quicksilver.min.css" }}
71
+ {{- $default_css := "https://eclipse.org/eclipse.org-common/themes/solstice/public/stylesheets/quicksilver.min.css" -}}
72
+ {{- if eq .Site.Params.layout_style "astro" -}}
73
+ {{- $default_css = "https://eclipse.org/eclipse.org-common/themes/solstice/public/stylesheets/astro.min.css" -}}
74
+ {{- end -}}
75
+ {{- with .Site.Params.styles | default $default_css }}
72
76
  <link rel="stylesheet" href="{{ . | relURL }}?v={{ now.Unix }}">
73
77
  {{- end }}
74
78
  {{- with .Page.Params.page_css_file }}
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "main": "webpack.min.js",
5
5
  "author": "Christopher Guindon",
6
6
  "license": "EPL-2.0",
7
- "version": "0.0.206",
7
+ "version": "0.0.207",
8
8
  "bugs": {
9
9
  "url": "https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme/-/issues"
10
10
  },
@@ -23,7 +23,7 @@
23
23
  "readmeFilename": "README.md",
24
24
  "dependencies": {
25
25
  "axios": "^1.6.0",
26
- "eclipsefdn-solstice-assets": "0.0.256",
26
+ "eclipsefdn-solstice-assets": "0.0.257",
27
27
  "json2yaml": "^1.1.0",
28
28
  "toml": "^3.0.0"
29
29
  },
@@ -1,12 +0,0 @@
1
- ---
2
- Title: Eclipse Foundation Projects
3
- hide_sidebar: true
4
- ---
5
-
6
- Using the `eclipsefdn_projects.yaml` generated as part of the installation of the theme, this component will display a list of projects retrieved from the Eclipse Foundation projects API. This set of projects can be filtered by setting the parameter `projects_working_group` to the machine name of the working group to filter on. This field accepts only a single string value.
7
-
8
- **Examples:**
9
-
10
- Following list of projects has been filtered using the working group "jakarta-ee":
11
-
12
- {{< eclipsefdn_project_list projects_working_group="jakarta-ee" >}}
@@ -1,35 +0,0 @@
1
- ---
2
- title: "Projects"
3
- date: 2019-06-27T15:51:20-04:00
4
- description: ""
5
- categories: []
6
- keywords: []
7
- slug: ""
8
- aliases: []
9
- toc: false
10
- draft: false
11
- ---
12
-
13
- To add projects, create markdown files in the content/projects/<project name> folder and add the following code to the index.md file:
14
-
15
- ~~~~
16
- ---
17
- Title: Example 1
18
- license: epl2.0
19
- logo: //www.eclipse.org/artwork/images/v2/eclipse_foundation_logo.jpg
20
- latest_version: 1.0.1
21
- download_url: //eclipse.org/downloads
22
- website: //eclipse.org/
23
- technology_types: ["Tools", "Sample"]
24
- build_technologies: ["Jenkins"]
25
- other_tags: ["lorem"]
26
- ---
27
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed fermentum molestie sem. Morbi lobortis ullamcorper massa non dapibus. Etiam at enim ultrices, interdum sapien id, sagittis magna. Curabitur eget eros ut risus tempor dignissim. Vestibulum ultricies ac purus ut venenatis.
28
- ~~~~
29
-
30
- The `technology_types`, `build_technologies`, and `other_tags` page parameters are examples of taxonomies added to the site configuration with the same name. They represent tags on the projects, and can be set on a site according to tags used by the given site.
31
-
32
-
33
- **Examples:**
34
-
35
- You can see an example on the [Projects page](../../projects/)
@@ -1,4 +0,0 @@
1
- ---
2
- Title: Projects
3
- hide_sidebar: true
4
- ---
@@ -1,18 +0,0 @@
1
- ---
2
- Title: Example 1
3
- license: epl2.0
4
- logo: //www.eclipse.org/artwork/images/v2/eclipse_foundation_logo.jpg
5
- latest_version: 1.0.1
6
- download_url: //eclipse.org/downloads
7
- website: //eclipse.org/
8
- technology_types: ["Tools", "Sample"]
9
- build_technologies: ["Jenkins"]
10
- other_tags: ["lorem"]
11
- ---
12
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed fermentum molestie sem. Morbi lobortis ullamcorper massa non dapibus. Etiam at enim ultrices, interdum sapien id, sagittis magna. Curabitur eget eros ut risus tempor dignissim. Vestibulum ultricies ac purus ut venenatis.
13
-
14
- <!--more-->
15
-
16
- Praesent tempus venenatis enim, vitae eleifend eros varius a. Aliquam eros purus, commodo eu luctus at, tincidunt eget nisi. Nulla varius justo sit amet ante ultricies efficitur eget in ipsum. Mauris diam elit, placerat ut nibh non, mattis maximus orci. In hac habitasse platea dictumst. Mauris magna mi, vulputate sit amet rutrum euismod, vehicula eu metus. Integer at ante pretium, lobortis metus nec, tincidunt lorem.
17
-
18
- Suspendisse non porta risus. Sed congue urna sed laoreet venenatis. Fusce sit amet vestibulum purus, vel feugiat nisl. Curabitur scelerisque porta bibendum. Aliquam a leo lectus. Pellentesque ac accumsan diam. Proin tempor purus at enim bibendum, a egestas mi facilisis. Sed nec tristique arcu. Maecenas a quam et lectus faucibus iaculis non et ex.
@@ -1,16 +0,0 @@
1
- ---
2
- Title: Example 2
3
- license: epl2.0
4
- logo: //www.eclipse.org/artwork/images/v2/eclipse-mp-built-800x274.png
5
- download_url: //eclipse.org/downloads#example-2
6
- website: //eclipse.org/#example-2
7
- technology_types: ["Internet of Things", "Runtime", "Tools"]
8
- other_tags: ["Java EE"]
9
- build_technologies: ["Travis", "Maven"]
10
- is_incubated: true
11
- ---
12
- Proin gravida gravida est ac mattis. Duis elementum fringilla nisl, in dictum sem aliquet a. Maecenas arcu neque, pretium ut libero at, malesuada varius leo. In et convallis mi. Integer ante magna, tristique egestas viverra non, venenatis ut sem. Morbi egestas laoreet augue, ut vulputate urna. Praesent ut est a est congue vehicula eget at diam.
13
- <!--more-->
14
- Maecenas quis diam eget augue tristique tincidunt vitae eget velit. Mauris commodo, nulla quis viverra consectetur, orci est fermentum lectus, suscipit gravida dolor elit hendrerit enim.
15
-
16
- Cras sed elementum risus. Donec bibendum maximus dolor eu posuere. Etiam in leo massa. Maecenas nunc turpis, mollis mattis rhoncus ac, fringilla et diam. Nunc viverra quam id quam bibendum, quis mattis metus convallis. Phasellus pellentesque eu felis sed lobortis. Quisque vitae aliquam leo. Nulla a magna purus. Nullam viverra dapibus tortor a vehicula. Praesent porta quam quam, a malesuada ligula cursus condimentum.
@@ -1,53 +0,0 @@
1
- {{ define "main" }}
2
- <ul class="nav nav-tabs" id="main-tabs" role="tablist">
3
- <li role="presentation" class="active">
4
- <a class="active" id="overview-tab" data-toggle="tab" href="#overview" role="tab" aria-controls="overview" aria-selected="true">Overview</a>
5
- </li>
6
- </ul>
7
- <div class="tab-content">
8
- <div class="tab-pane fade active in" id="overview" role="tabpanel" aria-labeledby="overview-tab" >
9
- <div class="margin-bottom-30">
10
- {{ .Content }}
11
- </div>
12
- <h2><strong>{{ i18n "project-single-licenses-label" }}</strong></h2>
13
- <p>{{ .Params.license }}</p>
14
- <div class="btn-group">
15
- <a href="{{ .Params.website }}" class="btn btn-sm btn-warning details-link">{{ i18n "project-summary-website-label" }}</a>
16
- </div>
17
- </div>
18
- </div>
19
- {{ end }}
20
-
21
- {{ define "main_suffix" }}
22
- </div>
23
- <div class="col-xs-24 col-md-6 project-list-sidebar">
24
- <div class="logo-panel sidebar-panel margin-bottom-20">
25
- {{ if .Params.is_incubated }}
26
- <img class="img-responsive center-block margin-bottom-30" src="https://projects.eclipse.org/sites/all/modules/custom/pmi/project_state/images/incubating.png" />
27
- {{ end }}
28
- <img class="img-responsive center-block" src="{{ .Params.logo }}" />
29
- </div>
30
- <div class="tag-panel sidebar-panel">
31
- <a data-toggle="collapse" href="#tags-collapse" role="button" aria-expanded="true" aria-controls="tags-collapse">
32
- <h2><i class="fa fa-tags"></i>{{ i18n "project-single-tags-label" }}</h2>
33
- <i class="block-solstice-collapse-angle fa fa-angle-double-down"></i>
34
- </a>
35
-
36
- <div class="collapse in" id="tags-collapse">
37
- {{ range $taxonomy_term, $taxonomy := .Site.Taxonomies }}
38
- {{ if ne ($.Param $taxonomy_term) nil }}
39
- <h3>{{ $taxonomy_term | humanize }}</h3>
40
- <ul class="list-inline solstice-tags">
41
- {{ range $.Param $taxonomy_term }}
42
- <li>
43
- <a href="/{{ $taxonomy_term | urlize }}/{{ . | urlize}}/">{{ . }}</a>
44
- </li>
45
- {{ end }}
46
- </ul>
47
- {{ end }}
48
- {{ end }}
49
- </div>
50
- </div>
51
- </div>
52
- </main>
53
- {{ end }}
@@ -1,54 +0,0 @@
1
- <div class="project-summary clearfix">
2
- <div about="{{ .Permalink | relURL }}">
3
- <div class="col-xs-6 col-md-4">
4
- <a href="{{ .Permalink | relURL }}" >
5
- {{ if .Params.is_incubated }}
6
- <img class="img-responsive center-block margin-bottom-30" src="https://projects.eclipse.org/sites/all/modules/custom/pmi/project_state/images/incubating.png" />
7
- {{ else }}
8
- <img class="img-responsive center-block" src="{{ .Params.logo }}" alt="{{ i18n "project-summary-logo-text" . }}" />
9
- {{ end }}
10
- </a>
11
- </div>
12
-
13
- <div class="col-xs-18 col-md-14 project-teaser">
14
- <h2 class="name">{{ .Title }}</h2>
15
- {{ if isset .Params.technology_types 0 }}
16
- <ul class="labels list-inline">
17
- {{range .Params.technology_types }}
18
- <li><a class="label label-warning" href="/{{ "technology_types" | urlize }}/{{ . | urlize}}/">{{ . }}</a></li>
19
- {{ end }}
20
- </ul>
21
- {{ end }}
22
- <div class="project-teaser-description">
23
- {{ .Summary }}
24
- <p><a href="{{ .Permalink | relURL }}">{{ i18n "project-summary-read-more" }}</a></p>
25
- </div>
26
- </div>
27
-
28
- <div class="col-md-6 details hidden-xs hidden-sm">
29
- {{ if ne .Params.latest_version nil }}
30
- <p class="latest-release">
31
- {{ i18n "project-summary-latest-release" }} <a href="{{ .Params.download_url }}"><span class="badge version">{{ .Params.latest_version }}</span></a>
32
- </p>
33
- {{ end }}
34
- {{ if ne .Params.download_url nil }}
35
- <div class="btn-group">
36
- <a href="{{ .Params.download_url }}" class="btn btn-sm btn-warning details-link">{{ i18n "project-summary-download-label" }}</a>
37
- <button type="button" class="btn btn-sm btn-warning dropdown-toggle details-link" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
38
- <span class="caret"></span> <span class="sr-only">{{ i18n "project-summary-toggle-dropdown" }}</span>
39
- </button>
40
- <ul class="dropdown-menu">
41
- <li><a href="{{ .Params.website }}">{{ i18n "project-summary-website-label" }}</a></li>
42
- </ul>
43
- </div>
44
- {{ else }}
45
- <div class="btn-group">
46
- <a href="{{ .Params.website }}" class="btn btn-sm btn-warning details-link">{{ i18n "project-summary-website-label" }}</a>
47
- </div>
48
- {{ end }}
49
- </div>
50
- <!-- End release col -->
51
- </div>
52
- <!-- End node -->
53
- <hr class="hr-border-dotted">
54
- </div>
@@ -1,74 +0,0 @@
1
- {{/*
2
- Copyright (c) 2020, 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
- Martin Lowe <martin.lowe@eclipse-foundation.org>
10
- Olivier Goulet <olivier.goulet@eclipse-foundation.org>
11
-
12
- SPDX-License-Identifier: EPL-2.0
13
- */}}
14
-
15
- {{ if $.Site.Data.eclipsefdn_projects }}
16
- <section wg-filter="{{$.Site.Params.projects_working_group}}">
17
- <style>
18
- .btn-group .dropdown-menu a:hover {text-decoration:underline;}
19
- </style>
20
- <div class="row">
21
- {{ range sort $.Site.Data.eclipsefdn_projects "name" "asc" }}
22
- {{ $project_contains_working_group := false }}
23
- {{ if $.Get "projects_working_group" }}
24
- {{ $working_group_id := $.Get "projects_working_group" }}
25
- {{ range .working_groups }}
26
- {{ if and (ne $project_contains_working_group true) (eq .id $working_group_id) }}
27
- {{ $project_contains_working_group = true }}
28
- {{ end }}
29
- {{ end }}
30
- {{ end }}
31
- {{ if or (not ($.Get "projects_working_group")) (eq $project_contains_working_group true) }}
32
- <div class="project-summary">
33
- <div class="col-xs-6 col-md-4 text-center project-teaser-left">
34
- <a href="{{ .url }}" class="link">
35
- <img class="img-responsive center-block" src="{{ .logo | default "https://projects.eclipse.org/sites/all/themes/solstice/public/images/logo/default.png" }}" alt="{{ i18n "project-list-logo-alt" . }}" title="{{ .name }}">
36
- </a>
37
- </div>
38
- <div class="col-xs-18 col-md-14 margin-bottom-20">
39
- <h2 class="name">
40
- <a href="{{ .url }}">{{ .name }}</a>
41
- </h2>
42
- <div class="project-teaser-description">
43
- {{ (.summary | default "<p></p>") | safeHTML }}
44
- <p>
45
- <a href="{{ .url }}" aria-label="{{ i18n "project-list-read-more-sr" . }}">{{ i18n "project-list-read-more" . }}</a>
46
- </p>
47
- </div>
48
- </div>
49
- <div class="col-xs-24 col-md-4 text-center margin-top-20 margin-bottom-20">
50
- <div class="btn-group">
51
- <a class="btn btn-primary" href="{{ .url }}/downloads">{{ i18n "project-list-downloads" }}</a>
52
- <button type="button" class="btn btn-primary dropdown-toggle details-link" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
53
- <span class="caret"></span>
54
- <span class="sr-only">{{ i18n "project-list-dropdown-sr" }}</span>
55
- </button>
56
- <ul class="dropdown-menu">
57
- {{ with .website_url }}
58
- <li><a href="{{ . }}" >{{ i18n "project-list-website" }}</a></li>
59
- {{ end }}
60
- <li><a href="{{ .url }}/developer" >{{ i18n "project-list-resources" }}</a></li>
61
- <li role="separator" class="divider"></li>
62
- <li><a href="{{ .url }}/who" >{{ i18n "project-list-who" }}</a></li>
63
- <li><a href="{{ .url }}/governance" >{{ i18n "project-list-governance" }}</a></li>
64
- <li><a href="{{ .url }}/contact" >{{ i18n "project-list-contact" }}</a></li>
65
- </ul>
66
- </div>
67
- </div>
68
- <hr class="hr-border-dotted" />
69
- </div>
70
- {{ end }}
71
- {{ end }}
72
- </div>
73
- </section>
74
- {{ end }}