eclipsefdn-hugo-solstice-theme 3.0.0 → 3.0.1
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/.changeset/config.json +11 -0
- package/CHANGELOG.md +62 -11
- package/config.toml +1 -1
- package/exampleSite/config/_default/menus.en.toml +38 -47
- package/exampleSite/content/changelog/index.md +9 -0
- package/exampleSite/data/doc_params.yml +2 -23
- package/exampleSite/data/site_params.yml +5 -50
- package/exampleSite/layouts/changelog/single.html +43 -0
- package/layouts/partials/featured_story_popup.html +2 -1
- package/layouts/partials/head.html +1 -1
- package/package.json +7 -4
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://unpkg.com/@changesets/config@3.1.2/schema.json",
|
|
3
|
+
"changelog": "@changesets/cli/changelog",
|
|
4
|
+
"commit": false,
|
|
5
|
+
"fixed": [],
|
|
6
|
+
"linked": [],
|
|
7
|
+
"access": "public",
|
|
8
|
+
"baseBranch": "main",
|
|
9
|
+
"updateInternalDependencies": "patch",
|
|
10
|
+
"ignore": []
|
|
11
|
+
}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,56 @@
|
|
|
1
1
|
# eclipsefdn-hugo-solstice-theme
|
|
2
2
|
|
|
3
|
+
## 3.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 611ee9c: Fix `seo_title_suffix` not having a fallback which caused strange
|
|
8
|
+
output in title tags
|
|
9
|
+
- 4b531a5: Update eclipse.org menu's explore projects link
|
|
10
|
+
- e2a7ae1: Fix featured story popup not using the `publish_target` parameter
|
|
11
|
+
|
|
12
|
+
## 3.0.0
|
|
13
|
+
|
|
14
|
+
### Major Changes
|
|
15
|
+
|
|
16
|
+
- d95247d: Extract Neptune into its own package
|
|
17
|
+
|
|
18
|
+
### Minor Changes
|
|
19
|
+
|
|
20
|
+
- 297c5d9: [Menu] Add Bring Your Project menu item
|
|
21
|
+
|
|
22
|
+
## 2.0.0
|
|
23
|
+
|
|
24
|
+
### Major Changes
|
|
25
|
+
|
|
26
|
+
- a703b87: Extract Astro into its own package
|
|
27
|
+
|
|
28
|
+
## 1.0.1
|
|
29
|
+
|
|
30
|
+
### Patch Changes
|
|
31
|
+
|
|
32
|
+
- 730d2dc: [SEO] Add seo_title_suffix fallback
|
|
33
|
+
- 18b980e: [Featured Story Popup] Fix publish target not applying
|
|
34
|
+
|
|
35
|
+
## 1.0.0
|
|
36
|
+
|
|
37
|
+
### Major Changes
|
|
38
|
+
|
|
39
|
+
- 49f11b9: Extract Quicksilver into its own package
|
|
40
|
+
|
|
41
|
+
## 0.3.3
|
|
42
|
+
|
|
43
|
+
### Patch Changes
|
|
44
|
+
|
|
45
|
+
- aa2ec26: Upgrade eclipsefdn-solstice-assets to 0.2.8 to resolve bugs
|
|
46
|
+
- 40a389d: Update @eclipsefdn/solstice-components peer dependency version
|
|
47
|
+
|
|
48
|
+
## 0.3.2
|
|
49
|
+
|
|
50
|
+
### Patch Changes
|
|
51
|
+
|
|
52
|
+
- 969234d: Upgrade dependencies
|
|
53
|
+
|
|
3
54
|
## 0.3.1
|
|
4
55
|
|
|
5
56
|
### Patch Changes
|
|
@@ -11,7 +62,7 @@
|
|
|
11
62
|
### Minor Changes
|
|
12
63
|
|
|
13
64
|
- b1c65af: [Featured Story Popup] Add featured story popup component
|
|
14
|
-
- d1e7e7c: Add solstice-components as peer dependency
|
|
65
|
+
- d1e7e7c: Add @eclipsefdn/solstice-components as peer dependency
|
|
15
66
|
|
|
16
67
|
## 0.2.6
|
|
17
68
|
|
|
@@ -23,7 +74,7 @@
|
|
|
23
74
|
|
|
24
75
|
### Patch Changes
|
|
25
76
|
|
|
26
|
-
- 3177e60: Upgrade
|
|
77
|
+
- 3177e60: Upgrade eclipsefdn-solstice-assets to 0.2.4
|
|
27
78
|
|
|
28
79
|
## 0.2.4
|
|
29
80
|
|
|
@@ -37,7 +88,7 @@
|
|
|
37
88
|
|
|
38
89
|
### Patch Changes
|
|
39
90
|
|
|
40
|
-
- b12ce69: Upgrade
|
|
91
|
+
- b12ce69: Upgrade eclipsefdn-solstice-assets to 0.2.2
|
|
41
92
|
|
|
42
93
|
## 0.2.2
|
|
43
94
|
|
|
@@ -54,7 +105,7 @@
|
|
|
54
105
|
|
|
55
106
|
### Patch Changes
|
|
56
107
|
|
|
57
|
-
- 4d3a118: Upgrade
|
|
108
|
+
- 4d3a118: Upgrade eclipsefdn-solstice-assets to 0.2.1
|
|
58
109
|
- d02c9fc: [Featured Footer] Fix publish target not applying
|
|
59
110
|
|
|
60
111
|
## 0.2.0
|
|
@@ -89,7 +140,7 @@
|
|
|
89
140
|
|
|
90
141
|
### Patch Changes
|
|
91
142
|
|
|
92
|
-
- 312914d: Upgrade
|
|
143
|
+
- 312914d: Upgrade eclipsefdn-solstice-assets to 0.1.21
|
|
93
144
|
|
|
94
145
|
## 0.1.18
|
|
95
146
|
|
|
@@ -107,14 +158,14 @@
|
|
|
107
158
|
|
|
108
159
|
### Minor Changes
|
|
109
160
|
|
|
110
|
-
- a25dd3d: Upgrade
|
|
161
|
+
- a25dd3d: Upgrade eclipsefdn-solstice-assets to 0.1.18
|
|
111
162
|
- 229ce92: Add option to hide or unformat seo_title and seo_title_suffix
|
|
112
163
|
|
|
113
164
|
## 0.1.15
|
|
114
165
|
|
|
115
166
|
### Patch Changes
|
|
116
167
|
|
|
117
|
-
- 0d3f05e: Upgrade
|
|
168
|
+
- 0d3f05e: Upgrade eclipsefdn-solstice-assets to 0.1.17
|
|
118
169
|
|
|
119
170
|
## 0.1.14
|
|
120
171
|
|
|
@@ -167,7 +218,7 @@
|
|
|
167
218
|
|
|
168
219
|
### Minor Changes
|
|
169
220
|
|
|
170
|
-
- 7df36f1: Upgrade
|
|
221
|
+
- 7df36f1: Upgrade eclipsefdn-solstice-assets to 0.1.10
|
|
171
222
|
|
|
172
223
|
## 0.1.7
|
|
173
224
|
|
|
@@ -177,7 +228,7 @@
|
|
|
177
228
|
|
|
178
229
|
### Patch Changes
|
|
179
230
|
|
|
180
|
-
- c64cfa0: Upgrade
|
|
231
|
+
- c64cfa0: Upgrade eclipsefdn-solstice-assets
|
|
181
232
|
|
|
182
233
|
## 0.1.6
|
|
183
234
|
|
|
@@ -196,7 +247,7 @@
|
|
|
196
247
|
|
|
197
248
|
### Patch Changes
|
|
198
249
|
|
|
199
|
-
- bd541ba: Upgrade
|
|
250
|
+
- bd541ba: Upgrade eclipsefdn-solstice-assets to 0.1.7
|
|
200
251
|
- 49f1f23: Fix news pagination not appearing
|
|
201
252
|
|
|
202
253
|
## 0.1.3
|
|
@@ -209,7 +260,7 @@
|
|
|
209
260
|
|
|
210
261
|
### Patch Changes
|
|
211
262
|
|
|
212
|
-
- 505f118: Upgrade
|
|
263
|
+
- 505f118: Upgrade eclipsefdn-solstice-assets to 0.1.4
|
|
213
264
|
|
|
214
265
|
## 0.1.1
|
|
215
266
|
|
package/config.toml
CHANGED
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
[[main]]
|
|
96
96
|
name = "Components"
|
|
97
97
|
url = "/components/"
|
|
98
|
-
weight =
|
|
98
|
+
weight = 1
|
|
99
99
|
identifier = "components"
|
|
100
100
|
|
|
101
101
|
[[main]]
|
|
@@ -130,17 +130,31 @@
|
|
|
130
130
|
identifier = "deprecated"
|
|
131
131
|
pre = "<i class=\"fa-solid fa-ban\" aria-hidden></i>"
|
|
132
132
|
|
|
133
|
+
[[main]]
|
|
134
|
+
name = "EclipseFdn Members List"
|
|
135
|
+
url = "/components/eclipsefdn_members_list/"
|
|
136
|
+
parent = "deprecated"
|
|
137
|
+
|
|
138
|
+
[[main]]
|
|
139
|
+
name = "EclipseFdn Projects page"
|
|
140
|
+
url = "/components/eclipsefdn_projects_page/"
|
|
141
|
+
parent = "deprecated"
|
|
142
|
+
|
|
133
143
|
[[main]]
|
|
134
144
|
name = "Meeting Minutes"
|
|
135
145
|
url = "/components/meeting_minutes/"
|
|
136
146
|
weight = 3
|
|
137
147
|
parent = "deprecated"
|
|
138
148
|
|
|
149
|
+
[[main]]
|
|
150
|
+
name = "Newsroom News"
|
|
151
|
+
url = "/components/newsroom/news/"
|
|
152
|
+
parent = "deprecated"
|
|
153
|
+
|
|
139
154
|
[[main]]
|
|
140
155
|
name = "Membership"
|
|
141
156
|
url = "/components/members/"
|
|
142
|
-
|
|
143
|
-
parent = "solstice"
|
|
157
|
+
parent = "deprecated"
|
|
144
158
|
|
|
145
159
|
[[main]]
|
|
146
160
|
name = "Taxonomy list"
|
|
@@ -178,24 +192,6 @@
|
|
|
178
192
|
weight = 3
|
|
179
193
|
parent = "solstice"
|
|
180
194
|
|
|
181
|
-
[[main]]
|
|
182
|
-
name = "Featured Story"
|
|
183
|
-
url = "/components/featured_story/"
|
|
184
|
-
weight = 3
|
|
185
|
-
parent = "solstice"
|
|
186
|
-
|
|
187
|
-
[[main]]
|
|
188
|
-
name = "EclipseFdn Projects page"
|
|
189
|
-
url = "/components/eclipsefdn_projects_page/"
|
|
190
|
-
weight = 3
|
|
191
|
-
parent = "solstice"
|
|
192
|
-
|
|
193
|
-
[[main]]
|
|
194
|
-
name = "EclipseFdn Members List"
|
|
195
|
-
url = "/components/eclipsefdn_members_list/"
|
|
196
|
-
weight = 4
|
|
197
|
-
parent = "solstice"
|
|
198
|
-
|
|
199
195
|
[[main]]
|
|
200
196
|
name = "HTML Tables"
|
|
201
197
|
url = "/components/tables/"
|
|
@@ -208,18 +204,6 @@
|
|
|
208
204
|
weight = 3
|
|
209
205
|
parent = "solstice"
|
|
210
206
|
|
|
211
|
-
[[main]]
|
|
212
|
-
name = "Twitter Timeline"
|
|
213
|
-
url = "/components/twitter_timeline/"
|
|
214
|
-
weight = 3
|
|
215
|
-
parent = "solstice"
|
|
216
|
-
|
|
217
|
-
[[main]]
|
|
218
|
-
name = "Twitter Buttons"
|
|
219
|
-
url = "/components/twitter_button/"
|
|
220
|
-
weight = 3
|
|
221
|
-
parent = "solstice"
|
|
222
|
-
|
|
223
207
|
[[main]]
|
|
224
208
|
name = "RSS Feed"
|
|
225
209
|
url = "/components/rss/"
|
|
@@ -262,18 +246,6 @@
|
|
|
262
246
|
weight = 3
|
|
263
247
|
parent = "events"
|
|
264
248
|
|
|
265
|
-
[[main]]
|
|
266
|
-
name = "Newsroom News"
|
|
267
|
-
url = "/components/newsroom/news/"
|
|
268
|
-
weight = 3
|
|
269
|
-
parent = "dynamic"
|
|
270
|
-
|
|
271
|
-
[[main]]
|
|
272
|
-
name = "Newsroom Events"
|
|
273
|
-
url = "/components/newsroom/events/"
|
|
274
|
-
weight = 3
|
|
275
|
-
parent = "dynamic"
|
|
276
|
-
|
|
277
249
|
[[main]]
|
|
278
250
|
name = "Newsroom Resources"
|
|
279
251
|
url = "/components/newsroom/resources/"
|
|
@@ -283,15 +255,34 @@
|
|
|
283
255
|
[[main]]
|
|
284
256
|
name = "News"
|
|
285
257
|
url = "/components/news/"
|
|
286
|
-
weight = 2
|
|
287
258
|
parent = "deprecated"
|
|
288
259
|
|
|
289
260
|
[[main]]
|
|
290
261
|
name = "Events"
|
|
291
262
|
url = "/components/events/"
|
|
292
|
-
weight = 3
|
|
293
263
|
parent = "deprecated"
|
|
294
264
|
|
|
265
|
+
[[main]]
|
|
266
|
+
name = "Newsroom Events"
|
|
267
|
+
url = "/components/newsroom/events/"
|
|
268
|
+
parent = "deprecated"
|
|
269
|
+
|
|
270
|
+
[[main]]
|
|
271
|
+
name = "X Timeline"
|
|
272
|
+
url = "/components/twitter_timeline/"
|
|
273
|
+
parent = "deprecated"
|
|
274
|
+
|
|
275
|
+
[[main]]
|
|
276
|
+
name = "X Buttons"
|
|
277
|
+
url = "/components/twitter_button/"
|
|
278
|
+
parent = "deprecated"
|
|
279
|
+
|
|
280
|
+
[[main]]
|
|
281
|
+
name = "Changelog"
|
|
282
|
+
url = "/changelog/"
|
|
283
|
+
weight = 3
|
|
284
|
+
identifier = "changelog"
|
|
285
|
+
|
|
295
286
|
[[sidebar]]
|
|
296
287
|
name = "Hugo Solstice Theme"
|
|
297
288
|
url = "/"
|
|
@@ -93,18 +93,7 @@ items:
|
|
|
93
93
|
values:
|
|
94
94
|
- "true"
|
|
95
95
|
ref: /components/featured_footer/
|
|
96
|
-
-
|
|
97
|
-
name: show_featured_story
|
|
98
|
-
description: Shows the featured story section at the top of the page if set to true, otherwise is ignored.
|
|
99
|
-
values:
|
|
100
|
-
- "true"
|
|
101
|
-
ref: /components/featured_story/
|
|
102
|
-
-
|
|
103
|
-
name: subtitle
|
|
104
|
-
description: Used in the jumbotron, set in a second level header under the headline. Ignored if headline is not set.
|
|
105
|
-
values:
|
|
106
|
-
- Any string value
|
|
107
|
-
-
|
|
96
|
+
-
|
|
108
97
|
name: Summary
|
|
109
98
|
description: Built in Hugo document parameter. Used in the head meta description if the Description parameter is not set.
|
|
110
99
|
values:
|
|
@@ -146,23 +135,13 @@ items:
|
|
|
146
135
|
values:
|
|
147
136
|
- Any string value
|
|
148
137
|
|
|
149
|
-
-
|
|
150
|
-
name: format_title
|
|
151
|
-
description: Formats the page title in headings and breadcrumbs to title case. If there is no value set, will default to true.
|
|
152
|
-
values:
|
|
153
|
-
- "false"
|
|
154
|
-
|
|
155
138
|
-
|
|
156
139
|
name: sidebar
|
|
157
140
|
description: Target specific menu identifiers. Used when a page or sub-section uses different sidebar content than the rest of the section it's in. Each identifier must have a corresponding "menu.sidebar" entry in the site's "config" file. If this parameter is omitted, the default sidebar for the section is used.
|
|
158
141
|
values:
|
|
159
142
|
- An array of string values
|
|
160
|
-
-
|
|
143
|
+
-
|
|
161
144
|
name: body_class
|
|
162
145
|
description: Add classes to the body element.
|
|
163
146
|
values:
|
|
164
147
|
- Any string value
|
|
165
|
-
name: format_title
|
|
166
|
-
description: Formats the page title in headings and breadcrumbs to title case. If there is no value set, will default to true.
|
|
167
|
-
values:
|
|
168
|
-
- "false"
|
|
@@ -23,13 +23,7 @@ items:
|
|
|
23
23
|
description: Description of the overall site, used in a pages meta description if no page level description is set.
|
|
24
24
|
values:
|
|
25
25
|
- Any string value
|
|
26
|
-
-
|
|
27
|
-
name: facebook_url
|
|
28
|
-
description: URL to the Facebook page for the site. If there is no value set, will default to Eclispe Foundation page.
|
|
29
|
-
deprecated: "0.1.7"
|
|
30
|
-
values:
|
|
31
|
-
- Absolute link to Facebook profile
|
|
32
|
-
-
|
|
26
|
+
-
|
|
33
27
|
name: favicon
|
|
34
28
|
description: URL to the favicon image for the site.
|
|
35
29
|
values:
|
|
@@ -54,17 +48,7 @@ items:
|
|
|
54
48
|
description: Used in the jumbotron.html layout file. Allow you to change the default value of col-md-20 col-md-offset-2 col-sm-18 col-sm-offset-3. Can be set at the site or page level.
|
|
55
49
|
values:
|
|
56
50
|
- Any string value
|
|
57
|
-
-
|
|
58
|
-
name: jumbotron_tagline_class
|
|
59
|
-
description: Used in the jumbotron.html layout file. Allow you to change the default value of col-sm-18 col-sm-offset-3. Can be set at the site or page level.
|
|
60
|
-
values:
|
|
61
|
-
- Any string value
|
|
62
|
-
-
|
|
63
|
-
name: jumbotron_btn_class
|
|
64
|
-
description: Used in the jumbotron.html layout file. Allow you to change the default value of btn btn-primary. Can be set at the site or page level.
|
|
65
|
-
values:
|
|
66
|
-
- Any string value
|
|
67
|
-
-
|
|
51
|
+
-
|
|
68
52
|
name: main_content_class
|
|
69
53
|
description: Used in the main_prefix.html layout file. Allow you to change the default value of col-md-18 padding-bottom-30 is overriten. Can be set at the site or page level.
|
|
70
54
|
values:
|
|
@@ -84,12 +68,7 @@ items:
|
|
|
84
68
|
description: Hides the CFA button site-wide.
|
|
85
69
|
value:
|
|
86
70
|
- "true"
|
|
87
|
-
-
|
|
88
|
-
name: hide_cfa_same_page
|
|
89
|
-
description: Attempt to hide CFA on the page it links to
|
|
90
|
-
values:
|
|
91
|
-
- "true"
|
|
92
|
-
-
|
|
71
|
+
-
|
|
93
72
|
name: js
|
|
94
73
|
description: URL to the main javascript to be used on the site. This does not affect any scripts added in custom sctions of the site. Defaults to <a href="https://www.eclipse.org/eclipse.org-common/themes/solstice/public/javascript/main.min.js">main.min.js</a>
|
|
95
74
|
values:
|
|
@@ -100,19 +79,7 @@ items:
|
|
|
100
79
|
values:
|
|
101
80
|
- Array of strings
|
|
102
81
|
example: '["tag1", "tag2", "tag3"]'
|
|
103
|
-
-
|
|
104
|
-
name: linkedin_url
|
|
105
|
-
description: URL to the linkedin page for the site. If there is no value set, will default to Eclispe Foundation page.
|
|
106
|
-
deprecated: "0.1.7"
|
|
107
|
-
values:
|
|
108
|
-
- Absolute link to linkedin profile
|
|
109
|
-
-
|
|
110
|
-
name: bluesky_url
|
|
111
|
-
description: URL to the Bluesky page for the site. If there is no value set, will default to Eclispe Foundation page.
|
|
112
|
-
deprecated: "0.1.7"
|
|
113
|
-
values:
|
|
114
|
-
- Absolute link to Bluesky profile
|
|
115
|
-
-
|
|
82
|
+
-
|
|
116
83
|
name: logo
|
|
117
84
|
description: URL to the logo image for the site. If there is no other image set in page or site parameters, this image is used as the sharing image for social media links.
|
|
118
85
|
values:
|
|
@@ -137,19 +104,7 @@ items:
|
|
|
137
104
|
description: URL to the stylesheet to be used on the site. This does not affect any stylesheets added in custom sctions of the site. Defaults to <a href="https://eclipse.org/eclipse.org-common/themes/solstice/public/stylesheets/quicksilver.min.css">quicksilver.min.css</a>
|
|
138
105
|
values:
|
|
139
106
|
- Absolute link or fully qualified URL to a CSS file
|
|
140
|
-
-
|
|
141
|
-
name: twitter_url
|
|
142
|
-
description: URL to the Twitter page for the site. If there is no value set, will default to Eclispe Foundation page.
|
|
143
|
-
deprecated: "0.1.7"
|
|
144
|
-
values:
|
|
145
|
-
- Absolute link to Twitter profile
|
|
146
|
-
-
|
|
147
|
-
name: youtube_url
|
|
148
|
-
description: URL to the YouTube page for the site. If there is no value set, will default to Eclispe Foundation page.
|
|
149
|
-
deprecated: "0.1.7"
|
|
150
|
-
values:
|
|
151
|
-
- Absolute link to YouTube profile
|
|
152
|
-
-
|
|
107
|
+
-
|
|
153
108
|
name: hide_breadcrumb
|
|
154
109
|
description: Hides the breadcrumb on all pages if set to true, otherwise ignored.
|
|
155
110
|
values:
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{{ define "main" }}
|
|
2
|
+
{{ $changelog_url := "https://gitlab.eclipse.org/eclipsefdn/software-dev/frameworks-and-tools/hugo-solstice-theme/-/raw/main/CHANGELOG.md?ref_type=heads" }}
|
|
3
|
+
{{ with try (resources.GetRemote $changelog_url) }}
|
|
4
|
+
{{ with .Err }}
|
|
5
|
+
{{ errorf "%s" . }}
|
|
6
|
+
{{ else with .Value }}
|
|
7
|
+
{{ $changelog := .Content }}
|
|
8
|
+
{{ $changelog | markdownify }}
|
|
9
|
+
<script>
|
|
10
|
+
document.querySelector('h1').innerText = 'Changelog';
|
|
11
|
+
document.querySelectorAll('main li').forEach(li => {
|
|
12
|
+
const commitHashPattern = /([a-f0-9]{7}):/i;
|
|
13
|
+
li.childNodes.forEach(node => {
|
|
14
|
+
if (node.nodeType === Node.TEXT_NODE) {
|
|
15
|
+
// Check if the text node contains a commit hash pattern
|
|
16
|
+
const match = node.textContent.match(commitHashPattern);
|
|
17
|
+
if (match) {
|
|
18
|
+
const hash = match[1];
|
|
19
|
+
const url = `https://gitlab.eclipse.org/eclipsefdn/software-dev/frameworks-and-tools/hugo-solstice-theme/-/commit/${hash}`;
|
|
20
|
+
|
|
21
|
+
// Create a link element
|
|
22
|
+
const a = document.createElement('a');
|
|
23
|
+
a.href = url;
|
|
24
|
+
a.target = '_blank';
|
|
25
|
+
a.rel = 'noopener noreferrer';
|
|
26
|
+
a.textContent = match[0];
|
|
27
|
+
|
|
28
|
+
// Replace the text node with the link
|
|
29
|
+
const parts = node.textContent.split(match[0]);
|
|
30
|
+
const frag = document.createDocumentFragment();
|
|
31
|
+
frag.append(parts[0], a, parts[1]);
|
|
32
|
+
|
|
33
|
+
node.replaceWith(frag);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
});
|
|
38
|
+
</script>
|
|
39
|
+
{{ else }}
|
|
40
|
+
{{ errorf "Unable to get remote resource %q" $changelog_url }}
|
|
41
|
+
{{ end }}
|
|
42
|
+
{{ end }}
|
|
43
|
+
{{ end }}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{{ if .Page.Params.show_featured_story_popup }}
|
|
2
|
+
{{ $publish_target := .Page.Params.featured_content_publish_target | default .Site.Params.featured_content_publish_target | default "eclipse_org" }}
|
|
2
3
|
<efsc-featured-story-popup
|
|
3
4
|
autoopen='{"xs":false,"md":true}'
|
|
4
5
|
variant="tertiary"
|
|
5
|
-
publishtarget="
|
|
6
|
+
publishtarget="{{ $publish_target }}"
|
|
6
7
|
type="popup"
|
|
7
8
|
></efsc-featured-story-popup>
|
|
8
9
|
<style>
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
{{ end }}
|
|
21
21
|
{{ $title_suffix := "" }}
|
|
22
22
|
{{ if not .Params.hide_seo_title_suffix }}
|
|
23
|
-
{{ $title_suffix = .Params.seo_title_suffix | default .Site.Params.seo_title_suffix }}
|
|
23
|
+
{{ $title_suffix = .Params.seo_title_suffix | default .Site.Params.seo_title_suffix | default "" }}
|
|
24
24
|
{{ end }}
|
|
25
25
|
{{ $full_title := printf "%s%s" $title $title_suffix }}
|
|
26
26
|
<title>{{ $full_title }}</title>
|
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": "3.0.
|
|
7
|
+
"version": "3.0.1",
|
|
8
8
|
"bugs": {
|
|
9
9
|
"url": "https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme/-/issues"
|
|
10
10
|
},
|
|
@@ -18,16 +18,19 @@
|
|
|
18
18
|
"hot": "NODE_ENV=development webpack-dev-server --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
|
|
19
19
|
"production": "NODE_ENV=production webpack --progress --config=node_modules/laravel-mix/setup/webpack.config.js",
|
|
20
20
|
"fetch_project": "node bin/projects/index.js -l exampleSite/data",
|
|
21
|
-
"build": "npm run production && npm run fetch_project"
|
|
21
|
+
"build": "npm run production && npm run fetch_project",
|
|
22
|
+
"changeset": "changeset"
|
|
22
23
|
},
|
|
23
24
|
"readmeFilename": "README.md",
|
|
24
25
|
"dependencies": {
|
|
25
|
-
"eclipsefdn-solstice-assets": "0.2.
|
|
26
|
+
"eclipsefdn-solstice-assets": "0.2.9",
|
|
26
27
|
"json2yaml": "^1.1.0",
|
|
27
28
|
"toml": "^3.0.0"
|
|
28
29
|
},
|
|
29
30
|
"browserslist": "last 5 version, > 0.2%, not dead, IE 11",
|
|
30
|
-
"devDependencies": {
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@changesets/cli": "^2.31.0"
|
|
33
|
+
},
|
|
31
34
|
"peerDependencies": {
|
|
32
35
|
"@eclipsefdn/solstice-components": ">=0.7.0 <1.0.0"
|
|
33
36
|
}
|