eclipsefdn-hugo-solstice-theme 0.1.10 → 0.1.11
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.
|
@@ -152,3 +152,8 @@ items:
|
|
|
152
152
|
description: Target specific menu identifiers. Used when a page or sub-section uses different sidebar content than the rest of the section it's in. Each identifier must have a corresponding "menu.sidebar" entry in the site's "config" file. If this parameter is omitted, the default sidebar for the section is used.
|
|
153
153
|
values:
|
|
154
154
|
- An array of string values
|
|
155
|
+
-
|
|
156
|
+
name: body_class
|
|
157
|
+
description: Add classes to the body element.
|
|
158
|
+
values:
|
|
159
|
+
- Any string value
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
{{ block "head-custom" . }}{{ partial "head_custom.html" . }}{{ end }}
|
|
18
18
|
{{ block "head-suffix" . }}{{ partial "head_suffix.html" . }}{{ end }}
|
|
19
19
|
</head>
|
|
20
|
-
<body>
|
|
20
|
+
<body {{ with .Page.Params.body_class -}}class="{{ . }}"{{- end }}>
|
|
21
21
|
{{ block "header" . }}{{ partial "header.html" . }}{{ end }}
|
|
22
22
|
{{ block "breadcrumbs" . }}{{ if and (and (ne .Page.Params.hide_breadcrumb true) (ne .Site.Params.hide_breadcrumb true)) (eq (.Site.Params.layout_style | default "quicksilver") "quicksilver") }}{{ partial "breadcrumbs.html" . }}{{end}}{{ end }}
|
|
23
23
|
{{ block "featured_story" . }}{{ partial "featured_story.html" . }}{{ end }}
|
|
@@ -14,6 +14,6 @@
|
|
|
14
14
|
<a href="{{- with .Params.redirect_url | default .Params.link | default .RelPermalink }} {{.}} {{- end }}" class="media media-link{{ if eq .Section "news" }} match-height-item{{ end }}">
|
|
15
15
|
<p class="media-date">{{ .Date.Format "Monday, Jan 2, 2006" }}</p>
|
|
16
16
|
<h4 class="media-heading">{{ .Title | safeHTML }}</h4>
|
|
17
|
-
<p class="media-text">{{ .
|
|
17
|
+
<p class="media-text">{{ .Params.summary | default .Params.description | default (.Plain | replaceRE "{{[\\s\\S]*?}}" "" | truncate 300) }}</p>
|
|
18
18
|
</a>
|
|
19
|
-
</div>
|
|
19
|
+
</div>
|
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.11",
|
|
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.13",
|
|
27
27
|
"json2yaml": "^1.1.0",
|
|
28
28
|
"toml": "^3.0.0"
|
|
29
29
|
},
|