eclipsefdn-hugo-solstice-theme 0.1.8 → 0.1.9
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 +11 -0
- package/exampleSite/config/_default/config.toml +1 -1
- package/exampleSite/content/components/featured_footer.md +1 -1
- 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
|
|
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.9",
|
|
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
|
},
|