eclipsefdn-hugo-solstice-theme 2.0.0 → 2.1.0
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,37 @@
|
|
|
1
1
|
# eclipsefdn-hugo-solstice-theme
|
|
2
2
|
|
|
3
|
+
## 2.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- fa6e472: Add breadcrumb title param support
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 30698f0: Upgrade eclipsefdn-solstice-assets to 0.2.9 to resolve breaking
|
|
12
|
+
changes of Laravel Mix subdependencies.
|
|
13
|
+
- aadb681: Add missing seo_title_suffix fallback
|
|
14
|
+
- 3a5dd46: use publish_target params for featured story popup
|
|
15
|
+
|
|
16
|
+
## 2.0.0
|
|
17
|
+
|
|
18
|
+
### Major Changes
|
|
19
|
+
|
|
20
|
+
- a703b87: Extract Astro into its own package
|
|
21
|
+
|
|
22
|
+
## 1.0.1
|
|
23
|
+
|
|
24
|
+
### Patch Changes
|
|
25
|
+
|
|
26
|
+
- 730d2dc: [SEO] Add seo_title_suffix fallback
|
|
27
|
+
- 18b980e: [Featured Story Popup] Fix publish target not applying
|
|
28
|
+
|
|
29
|
+
## 1.0.0
|
|
30
|
+
|
|
31
|
+
### Major Changes
|
|
32
|
+
|
|
33
|
+
- 49f11b9: Extract Quicksilver into its own package
|
|
34
|
+
|
|
3
35
|
## 0.3.1
|
|
4
36
|
|
|
5
37
|
### Patch Changes
|
|
@@ -31,7 +31,8 @@
|
|
|
31
31
|
{{ template "breadcrumbnav" (dict "p1" .p1.Site.Home "p2" .p2 "site_params" .site_params) }}
|
|
32
32
|
{{ end }}
|
|
33
33
|
<li {{ if eq .p1 .p2 }} class="active" aria-current="page"{{ end }}>
|
|
34
|
-
|
|
34
|
+
{{ $breadcrumb_title := .p1.Params.breadcrumb_title | default .p1.Title }}
|
|
35
|
+
<a href="{{ .p1.Permalink }}">{{ if eq (.p1.Params.format_title | default .site_params.format_title) false }}{{ $breadcrumb_title | safeHTML }}{{ else }}{{ $breadcrumb_title | safeHTML | title }}{{ end }}</a>
|
|
35
36
|
</li>
|
|
36
37
|
{{ end }}
|
|
37
38
|
</div>
|
|
@@ -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
|
{{ end }}
|
|
@@ -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": "2.
|
|
7
|
+
"version": "2.1.0",
|
|
8
8
|
"bugs": {
|
|
9
9
|
"url": "https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme/-/issues"
|
|
10
10
|
},
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"readmeFilename": "README.md",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"eclipsefdn-solstice-assets": "0.2.
|
|
25
|
+
"eclipsefdn-solstice-assets": "0.2.9",
|
|
26
26
|
"json2yaml": "^1.1.0",
|
|
27
27
|
"toml": "^3.0.0"
|
|
28
28
|
},
|