eclipsefdn-hugo-solstice-theme 0.3.3 → 2.0.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/config.toml +0 -660
- package/exampleSite/config/_default/config.toml +2 -3
- package/layouts/_default/baseof.html +0 -1
- package/layouts/partials/breadcrumbs.html +28 -2
- package/layouts/partials/featured_story.html +1 -8
- package/layouts/partials/featured_story_popup.html +0 -6
- package/layouts/partials/footer.html +20 -8
- package/layouts/partials/footer_js.html +1 -4
- package/layouts/partials/footer_links/footer-copyright.html +0 -5
- package/layouts/partials/footer_links/footer-eclipse-foundation.html +11 -31
- package/layouts/partials/footer_links/footer-legal.html +12 -28
- package/layouts/partials/footer_links/footer-other.html +10 -27
- package/layouts/partials/footer_links/links.html +0 -8
- package/layouts/partials/footer_links/suffix.html +21 -23
- package/layouts/partials/head.html +10 -15
- package/layouts/partials/header.html +12 -5
- package/layouts/partials/jumbotron.html +91 -5
- package/layouts/partials/main_prefix.html +29 -4
- package/layouts/partials/main_suffix.html +16 -2
- package/layouts/partials/mega_menu.html +53 -3
- package/layouts/partials/mobile_menu.html +95 -5
- package/layouts/partials/nav.html +62 -9
- package/layouts/partials/navbar.html +37 -4
- package/layouts/partials/sidebar.html +68 -5
- package/layouts/partials/socials.html +85 -4
- package/layouts/partials/toolbar.html +65 -3
- package/package.json +3 -3
- package/webpack.mix.js +0 -18
- package/layouts/partials/astro/breadcrumbs.html +0 -42
- package/layouts/partials/astro/footer.html +0 -32
- package/layouts/partials/astro/header.html +0 -24
- package/layouts/partials/astro/jumbotron.html +0 -102
- package/layouts/partials/astro/main_prefix.html +0 -40
- package/layouts/partials/astro/main_suffix.html +0 -30
- package/layouts/partials/astro/mega_menu.html +0 -65
- package/layouts/partials/astro/mobile_menu.html +0 -108
- package/layouts/partials/astro/nav.html +0 -74
- package/layouts/partials/astro/navbar.html +0 -51
- package/layouts/partials/astro/sidebar.html +0 -79
- package/layouts/partials/astro/socials.html +0 -97
- package/layouts/partials/astro/toolbar.html +0 -77
- package/layouts/partials/neptune/breadcrumbs.html +0 -35
- package/layouts/partials/neptune/footer.html +0 -73
- package/layouts/partials/neptune/header.html +0 -24
- package/layouts/partials/neptune/jumbotron.html +0 -90
- package/layouts/partials/neptune/main_prefix.html +0 -38
- package/layouts/partials/neptune/main_suffix.html +0 -13
- package/layouts/partials/neptune/mega_menu.html +0 -61
- package/layouts/partials/neptune/mobile_menu.html +0 -54
- package/layouts/partials/neptune/nav.html +0 -60
- package/layouts/partials/neptune/navbar.html +0 -130
- package/layouts/partials/neptune/sidebar.html +0 -73
- package/layouts/partials/neptune/socials.html +0 -22
- package/layouts/partials/neptune/toolbar.html +0 -11
- package/layouts/partials/quicksilver/breadcrumbs.html +0 -42
- package/layouts/partials/quicksilver/footer.html +0 -26
- package/layouts/partials/quicksilver/header.html +0 -21
- package/layouts/partials/quicksilver/jumbotron.html +0 -66
- package/layouts/partials/quicksilver/main_prefix.html +0 -37
- package/layouts/partials/quicksilver/main_suffix.html +0 -30
- package/layouts/partials/quicksilver/nav.html +0 -70
- package/layouts/partials/quicksilver/navbar.html +0 -74
- package/layouts/partials/quicksilver/sidebar.html +0 -45
- package/layouts/partials/quicksilver/socials.html +0 -91
- package/layouts/partials/quicksilver/toolbar.html +0 -39
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
{{/*
|
|
2
|
-
Copyright (c) 2020, 2022 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
|
-
Martin Lowe <martin.lowe@eclipse-foundation.org>
|
|
9
|
-
Christopher Guindon <chris.guindon@eclipse-foundation.org>
|
|
10
|
-
|
|
11
|
-
SPDX-License-Identifier: EPL-2.0
|
|
12
|
-
*/}}
|
|
13
|
-
|
|
14
|
-
{{ $twitter_url := $.Site.Params.twitter_url }}
|
|
15
|
-
{{ $facebook_url := $.Site.Params.facebook_url }}
|
|
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 }}
|
|
20
|
-
|
|
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>
|
|
88
|
-
</a></li>
|
|
89
|
-
{{ end }}
|
|
90
|
-
</ul>
|
|
91
|
-
</div>
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
{{/*
|
|
2
|
-
Copyright (c) 2018 Eclipse Foundation, Inc.
|
|
3
|
-
|
|
4
|
-
This program and the accompanying materials are made available under the
|
|
5
|
-
terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
-
http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
-
|
|
8
|
-
Contributors:
|
|
9
|
-
Christopher Guindon <chris.guindon@eclipse-foundation.org>
|
|
10
|
-
|
|
11
|
-
SPDX-License-Identifier: EPL-2.0
|
|
12
|
-
*/}}
|
|
13
|
-
|
|
14
|
-
<div class="clearfix toolbar-container-wrapper">
|
|
15
|
-
<div class="container">
|
|
16
|
-
<div class="text-right toolbar-row row hidden-print">
|
|
17
|
-
<div class="col-md-24 row-toolbar-col">
|
|
18
|
-
<ul class="list-inline">
|
|
19
|
-
<li><a href="https://accounts.eclipse.org/user/edit" class="" data-tab-destination="tab-profile"><i class="fa fa-edit fa-fw"></i> {{ i18n "navbar-edit-acccount-label" }}</a></li>
|
|
20
|
-
<li><a class="toolbar-link toolbar-manage-cookies dropdown-toggle"><i class="fa fa-wrench"></i> {{ i18n "navbar-manage-cookies-label" }}</a></li>
|
|
21
|
-
{{ if gt (len .AllTranslations) 1 }}
|
|
22
|
-
<li class="language-selector dropdown">
|
|
23
|
-
<a href="#" data-toggle="dropdown" class="dropdown-toggle">
|
|
24
|
-
<i class="fa fa-globe"></i>
|
|
25
|
-
<span> {{ .Language.LanguageName }}</span>
|
|
26
|
-
<b class="caret"></b>
|
|
27
|
-
</a>
|
|
28
|
-
<ul class="dropdown-menu">
|
|
29
|
-
{{ range .AllTranslations }}
|
|
30
|
-
<li><a href="{{ .Permalink }}">{{ .Language.LanguageName }}</a></li>
|
|
31
|
-
{{ end }}
|
|
32
|
-
</ul>
|
|
33
|
-
</li>
|
|
34
|
-
{{ end }}
|
|
35
|
-
</ul>
|
|
36
|
-
</div>
|
|
37
|
-
</div>
|
|
38
|
-
</div>
|
|
39
|
-
</div>
|