Skip to content

Commit eaa65b2

Browse files
Grzegorz Kocjangkocjan
Grzegorz Kocjan
authored andcommitted
Add YouTube links for past recodings
1 parent 434e8f0 commit eaa65b2

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Diff for: config/_default/markup.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010

1111
[tableOfContents]
1212
startLevel = 2
13-
endLevel = 4
13+
endLevel = 3

Diff for: content/spotkania/_content.gotmpl

+4
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@
3434
{{ if .talk_description }}
3535
{{ $contentValue = printf "%s \n %s" $contentValue .talk_description }}
3636
{{ end }}
37+
{{ if .youtube }}
38+
{{ $liveLink := printf "{{< youtubeLite id=\"%s\" label=\"%s\" >}}" .youtube "Label" }}
39+
{{ $contentValue = printf "%s \n #### Nagranie \n %s" $contentValue $liveLink }}
40+
{{ end }}
3741
{{ end }}
3842

3943
{{ $contentValue = printf "%s \n ## Sponsorzy" $contentValue }}

0 commit comments

Comments
 (0)