eclipsefdn-hugo-solstice-theme 0.0.200 → 0.0.201
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.
|
@@ -30,7 +30,13 @@
|
|
|
30
30
|
<div class="row">
|
|
31
31
|
<div class="{{- .Params.jumbotron_class | default .Site.Params.jumbotron_class | default "col-md-20 col-md-offset-2 col-sm-18 col-sm-offset-3" }}">
|
|
32
32
|
{{ if and (.Page.Params.headline) (ne .Page.Params.headline "") }}
|
|
33
|
-
<h1 class="featured-jumbotron-headline">
|
|
33
|
+
<h1 class="featured-jumbotron-headline">
|
|
34
|
+
{{ if eq .Page.Params.format_title false }}
|
|
35
|
+
{{ .Page.Params.headline | safeHTML }}
|
|
36
|
+
{{ else }}
|
|
37
|
+
{{ .Page.Params.headline | title | safeHTML }}
|
|
38
|
+
{{ end }}
|
|
39
|
+
</h1>
|
|
34
40
|
{{ end }}
|
|
35
41
|
{{ if isset .Page.Params "subtitle" }}
|
|
36
42
|
<div class="featured-jumbotron-subtitle">{{ .Page.Params.subtitle | title | safeHTML }}</div>
|
|
@@ -1,9 +1,23 @@
|
|
|
1
|
+
{{/*
|
|
2
|
+
Copyright (c) 2023 Eclipse Foundation, Inc.
|
|
3
|
+
This program and the accompanying materials are made available under the
|
|
4
|
+
terms of the Eclipse Public License v. 2.0 which is available at
|
|
5
|
+
http://www.eclipse.org/legal/epl-2.0.
|
|
6
|
+
|
|
7
|
+
Contributors:
|
|
8
|
+
Olivier Goulet <olivier.goulet@eclipse-foundation.org>
|
|
9
|
+
|
|
10
|
+
SPDX-License-Identifier: EPL-2.0
|
|
11
|
+
*/}}
|
|
12
|
+
|
|
13
|
+
{{ $layout_style := $.Site.Params.layout_style | default "quicksilver" }}
|
|
14
|
+
|
|
1
15
|
<div class="col-sm-24 margin-top-20">
|
|
2
16
|
<div class="row">
|
|
3
17
|
<div id="copyright" class="col-md-16">
|
|
4
18
|
<p id="copyright-text">{{ i18n "footer-copyright-text" | safeHTML}}</p>
|
|
5
19
|
</div>
|
|
6
|
-
{{ if eq
|
|
20
|
+
{{ if eq $layout_style "quicksilver" }}
|
|
7
21
|
{{ partial "socials.html" . }}
|
|
8
22
|
{{ end }}
|
|
9
23
|
</div>
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
{{ $layout_style := $.Site.Params.layout_style | default "quicksilver" }}
|
|
2
|
+
|
|
1
3
|
{{ partial "footer_links/footer-eclipse-foundation.html" . }}
|
|
2
4
|
{{ partial "footer_links/footer-legal.html" . }}
|
|
3
5
|
{{ if eq $.Site.Params.layout_style "quicksilver" }}
|
|
4
6
|
{{ partial "footer_links/footer-useful-links.html" . }}
|
|
5
7
|
{{ end }}
|
|
6
8
|
{{ partial "footer_links/footer-other.html" . }}
|
|
7
|
-
{{ if eq
|
|
9
|
+
{{ if eq $layout_style "quicksilver" }}
|
|
8
10
|
{{ partial "footer_links/footer-copyright.html" . }}
|
|
9
11
|
{{ end }}
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
{{- end }}
|
|
33
33
|
{{- end }}
|
|
34
34
|
{{- with .Page.Params.author }}
|
|
35
|
-
<meta name="author" content="{{ .
|
|
35
|
+
<meta name="author" content="{{ . }}"/>
|
|
36
36
|
{{- end }}
|
|
37
37
|
{{- with .Params.page_favicon | default .Site.Params.favicon | default "https://www.eclipse.org/favicon.ico"}}
|
|
38
38
|
<link href='{{ . | relURL }}' rel='icon' type='image/x-icon'/>
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
{{- end }}
|
|
43
43
|
<!-- Social Media Tags -->
|
|
44
44
|
{{- with .Params.share_img | default .Params.image | default .Site.Params.share_img | default .Site.Params.logo }}
|
|
45
|
-
<meta property="og:image" content="{{ . |
|
|
46
|
-
<meta name="twitter:image" content="{{ . |
|
|
45
|
+
<meta property="og:image" content="{{ . | absURL }}" />
|
|
46
|
+
<meta name="twitter:image" content="{{ . | absURL }}" />
|
|
47
47
|
{{- end }}
|
|
48
48
|
<meta name="twitter:card" content="summary" />
|
|
49
49
|
{{- with .Site.Author.twitter }}
|
|
@@ -17,7 +17,13 @@
|
|
|
17
17
|
<div class="container">
|
|
18
18
|
<div class="row">
|
|
19
19
|
<div class="{{- .Params.jumbotron_class | default .Site.Params.jumbotron_class | default "col-md-20 col-md-offset-2 col-sm-18 col-sm-offset-3"}}">
|
|
20
|
-
<h1>
|
|
20
|
+
<h1>
|
|
21
|
+
{{ if eq .Page.Params.format_title false }}
|
|
22
|
+
{{ .Page.Params.headline | safeHTML }}
|
|
23
|
+
{{ else }}
|
|
24
|
+
{{ .Page.Params.headline | title | safeHTML }}
|
|
25
|
+
{{ end }}
|
|
26
|
+
</h1>
|
|
21
27
|
{{ if isset .Page.Params "subtitle" }}
|
|
22
28
|
<h2>{{ .Page.Params.subtitle | title | safeHTML }}</h2>
|
|
23
29
|
{{end}}
|
package/package.json
CHANGED