Skip to content

Commit 67c3e7d

Browse files
Minor changes
1 parent ccae33f commit 67c3e7d

File tree

4 files changed

+12
-6
lines changed

4 files changed

+12
-6
lines changed

data/en/project.yaml

+4-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ logo:
1313
favicon: "/images/site/favicon.png"
1414

1515
projectInfo:
16-
github: https://github.com/educates
16+
github: https://github.com/vmware-tanzu-labs/educates-training-platform
17+
github-org: https://github.com/educates
1718
slack: slack.educates.dev
1819
docs: https://docs.educates.dev
1920

@@ -22,12 +23,12 @@ maintainers:
2223
2324
github: grahamdumpletong
2425
image: "/images/author/graham.jpeg"
25-
position: "Project Lead"
26+
position: "Project Lead Engineer"
2627
- name: "Jorge Morales"
2728
2829
github: jorgemoralespou
2930
image: "/images/author/jorge.jpeg"
30-
position: "Product Manager and Developer"
31+
position: "Project Manager and Engineer"
3132

3233
# some summary about the project. These will show as carrousel in the landing page
3334
summary:

layouts/partials/footer.html

+4
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,10 @@ <h5>{{ i18n "useful_links" }}</h5>
113113
<li><a href={{ printf "%s" $value }} target="_blank" rel="noopener">
114114
<span><i class="fab fa-slack"></i></span> <span>{{ $value }}</span>
115115
</a></li>
116+
{{ else if (eq $key "github-org") }}
117+
<li><a href={{ printf "%s" $value }} target="_blank" rel="noopener">
118+
<span><i class="fab fa-github"></i></span> <span>{{ $value }}</span>
119+
</a></li>
116120
{{ else if (eq $key "github") }}
117121
<li><a href={{ printf "%s" $value }} target="_blank" rel="noopener">
118122
<span><i class="fab fa-github"></i></span> <span>{{ $value }}</span>

layouts/partials/sections/intro.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
</span>
142142
</div>
143143
<div class="col-md-6 right-half d-flex justify-content-center align-items-center">
144-
<video controls class="video" autoplay >
144+
<video controls class="video" autoplay loop>
145145
<source src="videos/screencast.webm" type="video/webm">
146146
Your browser does not support the video tag.
147147
</video>

layouts/shortcodes/video.html

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{{ $src := .Get "src" }}
22
{{ $type := .Get "type" }}
3-
{{ $autoplay := .Get "autoplay" | default "false" }}
3+
{{ $autoplay := .Get "autoplay" | default "true" }}
4+
{{ $loop := .Get "loop" | default "true" }}
45
{{/*
56
A page can have multiple videos. We need to generate unique id for them.
67
Here, we are generating a sequence from 1 to 200 and taking the first element after a shuffle.
@@ -9,6 +10,6 @@
910
*/}}
1011
{{ $randNumber := index (seq 200 | shuffle) 0 }}
1112

12-
<video class="video-player" id="video-{{ $randNumber }}" playsinline controls {{ if eq $autoplay "true" }}autoplay{{ end }}>
13+
<video class="video-player" id="video-{{ $randNumber }}" playsinline controls {{ if eq $autoplay "true" }}autoplay{{ end }} {{ if eq $loop "true" }}loop{{ end }}>
1314
<source src="{{ $src }}" type="{{ $type | default "video/mp4" }}" />
1415
</video>

0 commit comments

Comments
 (0)