eclipsefdn-hugo-solstice-theme 0.0.197 → 0.0.199
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.
|
@@ -126,7 +126,7 @@ items:
|
|
|
126
126
|
- Any string value
|
|
127
127
|
-
|
|
128
128
|
name: author
|
|
129
|
-
description: Author name of the blog. This will be used to set the author of a blog.
|
|
129
|
+
description: Author name of the blog. This will be used to set the author of a blog.
|
|
130
130
|
values:
|
|
131
131
|
- Any string value
|
|
132
132
|
-
|
|
@@ -134,4 +134,10 @@ items:
|
|
|
134
134
|
description: Email address of the author of the blog. This will be used to set the email of a blog. If not set, site email will be used and if this is not set, "no+reply@eclipse-foundation.org" will be used as the email.
|
|
135
135
|
values:
|
|
136
136
|
- Any valid email address value
|
|
137
|
-
example: example@domain.com
|
|
137
|
+
example: example@domain.com
|
|
138
|
+
|
|
139
|
+
-
|
|
140
|
+
name: format_title
|
|
141
|
+
description: Formats the page title in headings and breadcrumbs to title case. If there is no value set, will default to true.
|
|
142
|
+
values:
|
|
143
|
+
- "false"
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
<div class="mega-menu-submenu-ad-wrapper">
|
|
54
54
|
{{ if eq $hide_ad false }}
|
|
55
55
|
<div
|
|
56
|
-
class="eclipsefdn-promo-content mega-menu-promo-content"
|
|
56
|
+
class="eclipsefdn-mega-menu-promo-content mega-menu-promo-content"
|
|
57
57
|
data-ad-format="ads_square"
|
|
58
58
|
data-ad-publish-to="eclipse_org_home"
|
|
59
59
|
>
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
{{ template "breadcrumbnav" (dict "p1" .p1.Site.Home "p2" .p2 ) }}
|
|
36
36
|
{{ end }}
|
|
37
37
|
<li {{ if eq .p1 .p2 }} class="active" aria-current="page"{{ end }}>
|
|
38
|
-
<a href="{{ .p1.Permalink }}">{{ if eq .
|
|
38
|
+
<a href="{{ .p1.Permalink }}">{{ if eq .p1.Params.format_title false }}{{ .p1.Title | safeHTML }}{{ else }}{{ .p1.Title | safeHTML | title }}{{ end }}</a>
|
|
39
39
|
</li>
|
|
40
40
|
{{ end }}
|
|
41
41
|
</div>
|
|
@@ -8,11 +8,6 @@
|
|
|
8
8
|
<script src="{{ . | relURL }}"></script>
|
|
9
9
|
{{ end }}
|
|
10
10
|
|
|
11
|
-
<!-- Render ads if enabled -->
|
|
12
|
-
{{ if eq .Site.Params.hide_ad false }}
|
|
13
|
-
<script src="{{ "js/eclipsefdn.promotion.js" | relURL }}?v={{ now.Unix }}"></script>
|
|
14
|
-
{{ end }}
|
|
15
|
-
|
|
16
11
|
<!-- Read in mustache templates registered in page scratch -->
|
|
17
12
|
{{ range $key, $value := (.Page.Scratch.Get "mustache-templates") }}
|
|
18
13
|
<script id="{{ $key }}" type="text/html">
|
|
@@ -31,7 +31,9 @@
|
|
|
31
31
|
<meta name="twitter:description" content="{{ . }}">
|
|
32
32
|
{{- end }}
|
|
33
33
|
{{- end }}
|
|
34
|
-
|
|
34
|
+
{{- with .Page.Params.author }}
|
|
35
|
+
<meta name="author" content="{{ .Page.Params.author }}"/>
|
|
36
|
+
{{- end }}
|
|
35
37
|
{{- with .Params.page_favicon | default .Site.Params.favicon | default "https://www.eclipse.org/favicon.ico"}}
|
|
36
38
|
<link href='{{ . | relURL }}' rel='icon' type='image/x-icon'/>
|
|
37
39
|
{{- end -}}
|
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.
|
|
7
|
+
"version": "0.0.199",
|
|
8
8
|
"bugs": {
|
|
9
9
|
"url": "https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme/-/issues"
|
|
10
10
|
},
|
|
@@ -23,12 +23,13 @@
|
|
|
23
23
|
"readmeFilename": "README.md",
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"axios": "^0.21.1",
|
|
26
|
-
"eclipsefdn-solstice-assets": "0.0.
|
|
26
|
+
"eclipsefdn-solstice-assets": "0.0.244",
|
|
27
27
|
"json2yaml": "^1.1.0",
|
|
28
28
|
"toml": "^3.0.0"
|
|
29
29
|
},
|
|
30
30
|
"resolutions": {
|
|
31
|
-
"semver": "^7.5.3"
|
|
31
|
+
"semver": "^7.5.3",
|
|
32
|
+
"browserify-sign": "^4.2.1"
|
|
32
33
|
},
|
|
33
34
|
"browserslist": "last 5 version, > 0.2%, not dead, IE 11"
|
|
34
35
|
}
|