eclipsefdn-hugo-solstice-theme 0.1.8 → 0.1.10
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/Jenkinsfile +1 -1
- package/README.md +1 -2
- package/config.toml +12 -7
- package/exampleSite/config/_default/config.toml +1 -1
- package/exampleSite/content/components/featured_footer.md +1 -1
- package/exampleSite/data/site_params.yml +15 -0
- package/exampleSite/layouts/partials/param_list.html +5 -2
- package/layouts/_default/rss.xml +6 -6
- package/layouts/partials/google_tag_manager.html +2 -2
- package/layouts/partials/head.html +1 -1
- package/layouts/shortcodes/twitter_button.html +2 -2
- package/layouts/shortcodes/twitter_timeline.html +2 -2
- package/package.json +2 -2
package/Jenkinsfile
CHANGED
|
@@ -4,7 +4,7 @@ hugo (
|
|
|
4
4
|
appName: 'webdev.eclipse.org-docs-hugo',
|
|
5
5
|
productionDomain: 'webdev.eclipse.org',
|
|
6
6
|
build: [
|
|
7
|
-
containerImage: 'eclipsefdn/hugo-node:h0.
|
|
7
|
+
containerImage: 'eclipsefdn/hugo-node:h0.144.2-n22.14.0',
|
|
8
8
|
script: 'bin/build.sh'
|
|
9
9
|
],
|
|
10
10
|
deployment: [
|
package/README.md
CHANGED
package/config.toml
CHANGED
|
@@ -26,6 +26,17 @@
|
|
|
26
26
|
icon = "fa-brands fa-linkedin-in"
|
|
27
27
|
url = "https://www.linkedin.com/company/eclipse-foundation"
|
|
28
28
|
|
|
29
|
+
[Params.author]
|
|
30
|
+
name = "Eclipse Foundation"
|
|
31
|
+
website = "https://www.eclipse.org"
|
|
32
|
+
email = "webdev@eclipse-foundation.org"
|
|
33
|
+
facebook = "eclipse.org"
|
|
34
|
+
twitter = "eclipsefdn"
|
|
35
|
+
youtube = "EclipseFdn"
|
|
36
|
+
googleplus = "+Eclipse"
|
|
37
|
+
linkedin = "company/eclipse-foundation/"
|
|
38
|
+
bluesky = "eclipsefdn.bsky.social"
|
|
39
|
+
|
|
29
40
|
# This is the default menus configuration for all websites consuming the theme.
|
|
30
41
|
# It will be discarded if menus.main is defined at the site-level.
|
|
31
42
|
|
|
@@ -178,16 +189,10 @@
|
|
|
178
189
|
weight = 1
|
|
179
190
|
parent = "supporters-sponsorship"
|
|
180
191
|
|
|
181
|
-
[[menus.astro]]
|
|
182
|
-
name = "Corporate Sponsorship"
|
|
183
|
-
url = "https://www.eclipse.org/org/corporate-sponsors/"
|
|
184
|
-
weight = 2
|
|
185
|
-
parent = "supporters-sponsorship"
|
|
186
|
-
|
|
187
192
|
[[menus.astro]]
|
|
188
193
|
name = "Sponsor a Collaboration"
|
|
189
194
|
url = "https://www.eclipse.org/sponsor/collaboration/"
|
|
190
|
-
weight =
|
|
195
|
+
weight = 2
|
|
191
196
|
parent = "supporters-sponsorship"
|
|
192
197
|
|
|
193
198
|
[[menus.astro]]
|
|
@@ -26,6 +26,7 @@ items:
|
|
|
26
26
|
-
|
|
27
27
|
name: facebook_url
|
|
28
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"
|
|
29
30
|
values:
|
|
30
31
|
- Absolute link to Facebook profile
|
|
31
32
|
-
|
|
@@ -102,11 +103,13 @@ items:
|
|
|
102
103
|
-
|
|
103
104
|
name: linkedin_url
|
|
104
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"
|
|
105
107
|
values:
|
|
106
108
|
- Absolute link to linkedin profile
|
|
107
109
|
-
|
|
108
110
|
name: bluesky_url
|
|
109
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"
|
|
110
113
|
values:
|
|
111
114
|
- Absolute link to Bluesky profile
|
|
112
115
|
-
|
|
@@ -137,11 +140,13 @@ items:
|
|
|
137
140
|
-
|
|
138
141
|
name: twitter_url
|
|
139
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"
|
|
140
144
|
values:
|
|
141
145
|
- Absolute link to Twitter profile
|
|
142
146
|
-
|
|
143
147
|
name: youtube_url
|
|
144
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"
|
|
145
150
|
values:
|
|
146
151
|
- Absolute link to YouTube profile
|
|
147
152
|
-
|
|
@@ -159,3 +164,13 @@ items:
|
|
|
159
164
|
description: Optional custom_jumbotron_class that will be used for custom_jumbotron.
|
|
160
165
|
values:
|
|
161
166
|
- Any string value
|
|
167
|
+
- name: socials
|
|
168
|
+
values:
|
|
169
|
+
- "Array of objects with the following properties: name (string), icon (string, Font Awesome 6 icon classes), url (string)"
|
|
170
|
+
example: |
|
|
171
|
+
<pre>
|
|
172
|
+
[[Params.socials]]
|
|
173
|
+
name = "Bluesky"
|
|
174
|
+
icon = "fa-brands fa-bluesky"
|
|
175
|
+
url = "https://bsky.app/profile/eclipsefdn.bsky.social"
|
|
176
|
+
</pre>
|
|
@@ -26,6 +26,9 @@
|
|
|
26
26
|
<td>{{ .name }}</td>
|
|
27
27
|
<td>
|
|
28
28
|
<p>{{ .description | safeHTML }}</p>
|
|
29
|
+
{{ if .deprecated }}
|
|
30
|
+
<p class="red">Deprecated in v{{ .deprecated }}</p>
|
|
31
|
+
{{ end }}
|
|
29
32
|
{{ if isset .values 0 }}
|
|
30
33
|
<p><em>Accepted values:</em></p>
|
|
31
34
|
<ul>
|
|
@@ -37,7 +40,7 @@
|
|
|
37
40
|
|
|
38
41
|
{{ if and (trim .example " " | ne "") (isset . "example") }}
|
|
39
42
|
<p>
|
|
40
|
-
<em>Example:</em> {{ .example }}
|
|
43
|
+
<em>Example:</em> {{ .example | safeHTML }}
|
|
41
44
|
</p>
|
|
42
45
|
{{ end }}
|
|
43
46
|
|
|
@@ -51,4 +54,4 @@
|
|
|
51
54
|
{{ end }}
|
|
52
55
|
</tbody>
|
|
53
56
|
</table>
|
|
54
|
-
</div>
|
|
57
|
+
</div>
|
package/layouts/_default/rss.xml
CHANGED
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
<link>{{ .Permalink }}</link>
|
|
18
18
|
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
|
|
19
19
|
<generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
|
|
20
|
-
<language>{{.}}</language>{{end}}{{ with .Site.
|
|
21
|
-
<managingEditor>{{.}}{{ with $.Site.
|
|
22
|
-
<webMaster>{{.}}{{ with $.Site.
|
|
20
|
+
<language>{{.}}</language>{{end}}{{ with .Site.Params.author.email }}
|
|
21
|
+
<managingEditor>{{.}}{{ with $.Site.Params.author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Params.author.email }}
|
|
22
|
+
<webMaster>{{.}}{{ with $.Site.Params.author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }}
|
|
23
23
|
<copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }}
|
|
24
24
|
<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
|
|
25
25
|
{{- with .OutputFormats.Get "RSS" -}}
|
|
@@ -31,13 +31,13 @@
|
|
|
31
31
|
<link>{{ .Permalink }}</link>
|
|
32
32
|
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
|
|
33
33
|
{{ if or (.Params.author) (.Params.email) }}
|
|
34
|
-
<author>{{ .Params.email | default .Site.
|
|
34
|
+
<author>{{ .Params.email | default .Site.Params.author.email | default "no+reply@eclipse-foundation.org" }} ({{ .Params.author | default .Site.Params.author.name | default "Eclipse Foundation" }})</author>
|
|
35
35
|
{{ else }}
|
|
36
|
-
{{ with .Site.
|
|
36
|
+
{{ with .Site.Params.author.email }}<author>{{.}}{{ with $.Site.Params.author.name }} ({{.}}){{end}}</author>{{end}}
|
|
37
37
|
{{ end }}
|
|
38
38
|
<guid>{{ .Permalink }}</guid>
|
|
39
39
|
<description>{{ .Summary | html }}</description>
|
|
40
40
|
</item>
|
|
41
41
|
{{ end }}
|
|
42
42
|
</channel>
|
|
43
|
-
</rss>
|
|
43
|
+
</rss>
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
<meta name="twitter:image" content="{{ . | absURL }}" />
|
|
47
47
|
{{- end }}
|
|
48
48
|
<meta name="twitter:card" content="summary" />
|
|
49
|
-
{{- with .Site.
|
|
49
|
+
{{- with .Site.Params.author.twitter }}
|
|
50
50
|
<meta name="twitter:site" content="@{{ . }}" />
|
|
51
51
|
<meta name="twitter:creator" content="@{{ . }}" />
|
|
52
52
|
{{- end }}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{{ $class := .Get "class" | default "" }}
|
|
2
2
|
{{ $type := .Get "type" }}
|
|
3
|
-
{{ $handle := .Get "handle" | default .Site.
|
|
3
|
+
{{ $handle := .Get "handle" | default .Site.Params.author.twitter }}
|
|
4
4
|
{{ $hide_followers := .Get "hide_followers" | default "true" }}
|
|
5
5
|
{{ $hashtag := .Get "hashtag" }}
|
|
6
6
|
{{ $preload_text := .Get "preload_text" }}
|
|
@@ -41,4 +41,4 @@
|
|
|
41
41
|
</a>
|
|
42
42
|
</div>
|
|
43
43
|
|
|
44
|
-
{{ .Page.Scratch.Set "is_using_twitter" "true" }}
|
|
44
|
+
{{ .Page.Scratch.Set "is_using_twitter" "true" }}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{{ $class := .Get "class" }}
|
|
2
|
-
{{ $handle := .Get "handle" | default .Site.Author.twitter }}
|
|
2
|
+
{{ $handle := .Get "handle" | default .Site.Params.Author.twitter }}
|
|
3
3
|
{{ $dark := .Get "dark" | default "" }}
|
|
4
4
|
{{ $tweet_limit := .Get "tweet_limit" | default "20" }}
|
|
5
5
|
|
|
@@ -17,4 +17,4 @@
|
|
|
17
17
|
</a>
|
|
18
18
|
</div>
|
|
19
19
|
|
|
20
|
-
{{ .Page.Scratch.Set "is_using_twitter" "true" }}
|
|
20
|
+
{{ .Page.Scratch.Set "is_using_twitter" "true" }}
|
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.1.
|
|
7
|
+
"version": "0.1.10",
|
|
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.7.7",
|
|
26
|
-
"eclipsefdn-solstice-assets": "0.1.
|
|
26
|
+
"eclipsefdn-solstice-assets": "0.1.12",
|
|
27
27
|
"json2yaml": "^1.1.0",
|
|
28
28
|
"toml": "^3.0.0"
|
|
29
29
|
},
|