eclipsefdn-hugo-solstice-theme 0.1.16 → 0.1.18
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.
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
|
|
77
77
|
<div class="footer-end-social">
|
|
78
78
|
<p class="footer-end-social-text hidden-xs">Follow Us:</p>
|
|
79
|
-
<ul class="footer-end-social-links list-
|
|
79
|
+
<ul class="footer-end-social-links list-unstyled">
|
|
80
80
|
{{ range $socials }}
|
|
81
81
|
{{ $text := i18n "footer-sr-social-account" .name | default (printf "%s account" .name) }}
|
|
82
82
|
<li>
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
<div class="col-sm-24 margin-top-20">
|
|
16
16
|
<div class="row">
|
|
17
|
-
<div id="copyright" class="col-
|
|
17
|
+
<div id="copyright" class="col-sm-16">
|
|
18
18
|
<p id="copyright-text">{{ i18n "footer-copyright-text" | safeHTML}}</p>
|
|
19
19
|
</div>
|
|
20
20
|
{{ if eq $layout_style "quicksilver" }}
|
|
@@ -11,29 +11,81 @@
|
|
|
11
11
|
SPDX-License-Identifier: EPL-2.0
|
|
12
12
|
*/}}
|
|
13
13
|
|
|
14
|
+
{{ $twitter_url := $.Site.Params.twitter_url }}
|
|
15
|
+
{{ $facebook_url := $.Site.Params.facebook_url }}
|
|
14
16
|
{{ $instagram_url := $.Site.Params.instagram_url }}
|
|
17
|
+
{{ $youtube_url := $.Site.Params.youtube_url }}
|
|
18
|
+
{{ $linkedin_url := $.Site.Params.linkedin_url }}
|
|
19
|
+
{{ $bluesky_url := $.Site.Params.bluesky_url }}
|
|
15
20
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
21
|
+
{{/* To support the legacy "socialmedia_url" params */}}
|
|
22
|
+
{{ $socials := slice }}
|
|
23
|
+
{{ $using_legacy_socials := cond (or (ne $facebook_url nil) (ne $twitter_url nil) (ne $instagram_url nil) (ne $youtube_url nil) (ne $linkedin_url nil) (ne $bluesky_url nil)) true false }}
|
|
24
|
+
|
|
25
|
+
{{ if $using_legacy_socials }}
|
|
26
|
+
{{ with $twitter_url }}
|
|
27
|
+
{{ $x := (dict
|
|
28
|
+
"name" "X"
|
|
29
|
+
"url" .
|
|
30
|
+
"icon" "fa-brands fa-x-twitter"
|
|
31
|
+
) }}
|
|
32
|
+
{{ $socials = $socials | append $x }}
|
|
33
|
+
{{ end }}
|
|
34
|
+
{{ with $facebook_url }}
|
|
35
|
+
{{ $facebook := (dict
|
|
36
|
+
"name" "Facebook"
|
|
37
|
+
"url" .
|
|
38
|
+
"icon" "fa-brands fa-facebook-f"
|
|
39
|
+
) }}
|
|
40
|
+
{{ $socials = $socials | append $facebook }}
|
|
41
|
+
{{ end }}
|
|
42
|
+
{{ with $instagram_url }}
|
|
43
|
+
{{ $instagram := (dict
|
|
44
|
+
"name" "Instagram"
|
|
45
|
+
"url" .
|
|
46
|
+
"icon" "fa-brands fa-instagram"
|
|
47
|
+
) }}
|
|
48
|
+
{{ $socials = $socials | append $instagram }}
|
|
49
|
+
{{ end }}
|
|
50
|
+
{{ with $youtube_url }}
|
|
51
|
+
{{ $youtube := (dict
|
|
52
|
+
"name" "YouTube"
|
|
53
|
+
"url" .
|
|
54
|
+
"icon" "fa-brands fa-youtube"
|
|
55
|
+
) }}
|
|
56
|
+
{{ $socials = $socials | append $youtube }}
|
|
57
|
+
{{ end }}
|
|
58
|
+
{{ with $linkedin_url }}
|
|
59
|
+
{{ $linkedin := (dict
|
|
60
|
+
"name" "LinkedIn"
|
|
61
|
+
"url" .
|
|
62
|
+
"icon" "fa-brands fa-linkedin-in"
|
|
63
|
+
) }}
|
|
64
|
+
{{ $socials = $socials | append $linkedin }}
|
|
65
|
+
{{ end }}
|
|
66
|
+
{{ with $bluesky_url }}
|
|
67
|
+
{{ $bluesky := (dict
|
|
68
|
+
"name" "Bluesky"
|
|
69
|
+
"url" .
|
|
70
|
+
"icon" "fa-brands fa-bluesky"
|
|
71
|
+
) }}
|
|
72
|
+
{{ $socials = $socials | append $bluesky }}
|
|
73
|
+
{{ end }}
|
|
74
|
+
{{ else }}
|
|
75
|
+
{{ $socials = $.Site.Params.socials }}
|
|
76
|
+
{{ end }}
|
|
77
|
+
|
|
78
|
+
<div class="col-sm-8 social-media">
|
|
79
|
+
<ul class="list-unstyled social-links">
|
|
80
|
+
{{ range $socials }}
|
|
81
|
+
{{ $i18n_key := printf "footer-sr-%s-text" (urlize (lower .name)) }}
|
|
82
|
+
{{ $text := i18n $i18n_key | default .name }}
|
|
83
|
+
{{ $title_key := printf "footer-sr-%s-account" (urlize (lower .name)) }}
|
|
84
|
+
<li><a class="social-media-link fa-stack fa-lg" href="{{ .url }}" {{ with (i18n $title_key) }}title="{{ . }}"{{ end }}>
|
|
85
|
+
<i class="fa-regular fa-circle fa-stack-2x"></i>
|
|
86
|
+
<i class="{{ .icon }} fa-stack-1x"></i>
|
|
87
|
+
<span class="sr-only">{{ $text }}</span>
|
|
30
88
|
</a></li>
|
|
31
89
|
{{ end }}
|
|
32
|
-
<li><a class="social-media-link fa-stack fa-lg" href="{{ $.Site.Params.youtube_url | default "https://www.youtube.com/user/EclipseFdn" }}"> <i class="fa-regular fa-circle fa-stack-2x"></i> <i
|
|
33
|
-
class="fa-brands fa-youtube fa-stack-1x"></i> <span class="sr-only">{{ i18n "footer-sr-youtube-text" }}</span>
|
|
34
|
-
</a></li>
|
|
35
|
-
<li><a class="social-media-link fa-stack fa-lg" href="{{ $.Site.Params.linkedin_url | default "https://www.linkedin.com/company/eclipse-foundation" }}" title="{{ i18n "footer-sr-linkedin-account" }}">
|
|
36
|
-
<i class="fa-regular fa-circle fa-stack-2x"></i> <i class="fa-brands fa-linkedin-in fa-stack-1x"></i> <span class="sr-only">{{ i18n "footer-sr-linkedin-text" }}</span>
|
|
37
|
-
</a></li>
|
|
38
90
|
</ul>
|
|
39
91
|
</div>
|
|
@@ -1,22 +1,39 @@
|
|
|
1
1
|
{{ if and (isset .Params "portalId") (isset .Params "formId")}}
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
<div id="hubspot-form-fallback" class="alert alert-info">
|
|
3
|
+
{{ if isset .Params "fallbackMessage" }}
|
|
4
|
+
{{ .Params.fallbackMessage | markdownify }}
|
|
5
|
+
{{ else }}
|
|
6
|
+
<p>
|
|
7
|
+
If you are unable to access the contact form, please reach out to us at
|
|
8
|
+
<a href="mailto:membership.coordination@eclipse-foundation.org"
|
|
9
|
+
>membership.coordination@eclipse-foundation.org</a
|
|
10
|
+
>
|
|
11
|
+
for assistance with your membership inquiry.
|
|
12
|
+
</p>
|
|
13
|
+
{{ end }}
|
|
14
|
+
</div>
|
|
9
15
|
|
|
16
|
+
<!--[if lte IE 8]>
|
|
10
17
|
<script
|
|
11
18
|
charset="utf-8"
|
|
12
19
|
type="text/javascript"
|
|
13
|
-
src="//js.hsforms.net/forms/v2.js"
|
|
20
|
+
src="//js.hsforms.net/forms/v2-legacy.js"
|
|
14
21
|
></script>
|
|
15
|
-
|
|
22
|
+
<![endif]-->
|
|
23
|
+
|
|
24
|
+
<script
|
|
25
|
+
charset="utf-8"
|
|
26
|
+
type="text/javascript"
|
|
27
|
+
src="//js.hsforms.net/forms/v2.js"
|
|
28
|
+
></script>
|
|
29
|
+
<script>
|
|
16
30
|
hbspt.forms.create({
|
|
17
|
-
region:
|
|
31
|
+
region: "na1",
|
|
18
32
|
portalId: '{{ index .Params "portalId"}}',
|
|
19
33
|
formId: '{{ index .Params "formId"}}',
|
|
34
|
+
onFormReady: function () {
|
|
35
|
+
document.getElementById("hubspot-form-fallback").classList.add("hidden");
|
|
36
|
+
},
|
|
20
37
|
});
|
|
21
|
-
|
|
22
|
-
{{ end }}
|
|
38
|
+
</script>
|
|
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.1.
|
|
7
|
+
"version": "0.1.18",
|
|
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.20",
|
|
27
27
|
"json2yaml": "^1.1.0",
|
|
28
28
|
"toml": "^3.0.0"
|
|
29
29
|
},
|