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 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.110.0-n18.13.0',
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
@@ -10,8 +10,7 @@ Dependencies:
10
10
  | Program | Version |
11
11
  |---------|---------|
12
12
  | node.js | 18.13.0 |
13
- | npm | 8.19 |
14
- | Hugo | 0.110 |
13
+ | Hugo | 0.144 |
15
14
  | Git | > 2.31 |
16
15
  | Make | > 4.3 |
17
16
 
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
 
@@ -34,7 +34,7 @@ baseURL = "https://webdev.eclipse.org/docs/hugo"
34
34
  hide_deprecation_warnings = true
35
35
  hide_ad = false
36
36
 
37
- [Author]
37
+ [Params.author]
38
38
  name = "Christopher Guindon"
39
39
  website = "https://www.eclipse.org"
40
40
  email = "webdev@eclipse-foundation.org"
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  title: "Featured Footer"
3
- date: 2019-06-2T15:50:36-04:00
3
+ date: 2019-06-02T15:50:36-04:00
4
4
  description: ""
5
5
  categories: []
6
6
  keywords: []
@@ -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.Author.email }}
21
- <managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }}
22
- <webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }}
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.Author.email | default "no+reply@eclipse-foundation.org" }} ({{ .Params.author | default .Site.Author.name | default "Eclipse Foundation" }})</author>
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.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
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>
@@ -7,5 +7,5 @@
7
7
  })(window,document,'script','dataLayer','{{ . }}');</script>
8
8
  <!-- End Google Tag Manager -->
9
9
  {{- else }}
10
- {{ template "_internal/google_analytics_async.html" . }}
11
- {{- end }}
10
+ {{ template "_internal/google_analytics.html" . }}
11
+ {{- end }}
@@ -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.Author.twitter }}
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.Author.twitter }}
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.8",
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.11",
26
+ "eclipsefdn-solstice-assets": "0.1.12",
27
27
  "json2yaml": "^1.1.0",
28
28
  "toml": "^3.0.0"
29
29
  },