eclipsefdn-hugo-solstice-theme 0.0.203 → 0.0.205
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.
|
@@ -13,3 +13,10 @@ draft: false
|
|
|
13
13
|
You can add a youtube video to a markdown file using the following shortcode: **{{< youtube "6BsxSJJb6-g" >}}**
|
|
14
14
|
|
|
15
15
|
{{< youtube "6BsxSJJb6-g" >}}
|
|
16
|
+
|
|
17
|
+
## Resolution
|
|
18
|
+
|
|
19
|
+
To use the thumbnail with the highest available resolution, use the second
|
|
20
|
+
positional parameter and set the value to `"max"`.
|
|
21
|
+
|
|
22
|
+
{{< youtube "6BsxSJJb6-g" "max" >}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{{/*
|
|
2
|
-
Copyright (c) 2019, 2023 Eclipse Foundation, Inc.
|
|
2
|
+
Copyright (c) 2019, 2023, 2024 Eclipse Foundation, Inc.
|
|
3
3
|
|
|
4
4
|
This program and the accompanying materials are made available under the
|
|
5
5
|
terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
*/}}
|
|
14
14
|
|
|
15
15
|
<main>
|
|
16
|
-
<div class="{{- .Params.container | default .Site.Params.container | default "container"}}">
|
|
16
|
+
<div class="{{- .Params.container | default .Site.Params.container | default "container padding-bottom-30"}}">
|
|
17
17
|
{{ if ne .Page.Params.hide_sidebar true }}
|
|
18
18
|
<div class="row">
|
|
19
|
-
<div class="{{- .Params.main_content_class | default .Site.Params.main_content_class | default "col-md-18
|
|
19
|
+
<div class="{{- .Params.main_content_class | default .Site.Params.main_content_class | default "col-md-18"}}">
|
|
20
20
|
{{ end }}
|
|
21
21
|
{{ if ne .Page.Params.hide_breadcrumb true }}
|
|
22
22
|
{{ partial "breadcrumbs.html" . }}
|
|
@@ -23,6 +23,11 @@
|
|
|
23
23
|
{{ if and (.HasChildren) (eq $current_section $parent_item.Identifier ) }}
|
|
24
24
|
<aside class="main-sidebar-default-margin" id="main-sidebar">
|
|
25
25
|
<ul class="ul-left-nav" id="leftnav" role="tablist" aria-multiselectable="true">
|
|
26
|
+
<li class="main-sidebar-main-item main-sidebar-item-indented separator">
|
|
27
|
+
<a class="main-sidebar-heading link-unstyled" href="{{ .URL }}">
|
|
28
|
+
{{ .Name }}
|
|
29
|
+
</a>
|
|
30
|
+
</li>
|
|
26
31
|
{{ range .Children }}
|
|
27
32
|
<li class="main-sidebar-item main-sidebar-item-indented">
|
|
28
33
|
{{ if .HasChildren }}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
{{/*
|
|
2
2
|
Copyright (c) 2018 Eclipse Foundation, Inc.
|
|
3
3
|
|
|
4
4
|
This program and the accompanying materials are made available under the
|
|
@@ -9,6 +9,14 @@
|
|
|
9
9
|
Christopher Guindon <chris.guindon@eclipse-foundation.org>
|
|
10
10
|
|
|
11
11
|
SPDX-License-Identifier: EPL-2.0
|
|
12
|
-
|
|
12
|
+
*/}}
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
{{ $thumbnail_resolution := index .Params 1 }}
|
|
15
|
+
|
|
16
|
+
<a
|
|
17
|
+
class="eclipsefdn-video"
|
|
18
|
+
href="//www.youtube.com/embed/{{ index .Params 0 }}"
|
|
19
|
+
{{ with $thumbnail_resolution }}
|
|
20
|
+
data-thumbnail-resolution={{ . }}
|
|
21
|
+
{{ end }}
|
|
22
|
+
></a>
|
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.0.
|
|
7
|
+
"version": "0.0.205",
|
|
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.6.0",
|
|
26
|
-
"eclipsefdn-solstice-assets": "0.0.
|
|
26
|
+
"eclipsefdn-solstice-assets": "0.0.254",
|
|
27
27
|
"json2yaml": "^1.1.0",
|
|
28
28
|
"toml": "^3.0.0"
|
|
29
29
|
},
|