From dfa5aa30ed40aa18435a670e6f6e300afcec3e84 Mon Sep 17 00:00:00 2001 From: Carsten Gips Date: Thu, 25 Jul 2024 08:52:29 +0200 Subject: [PATCH] Hugo: add new param for videos on TIB AV-Portal --- hugo/hugo-lecture/archetypes/lecture-cg.md | 5 ++++- .../layouts/partials/archetypes/lecture-cg/article.html | 5 +++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/hugo/hugo-lecture/archetypes/lecture-cg.md b/hugo/hugo-lecture/archetypes/lecture-cg.md index df6ed8a..5e175b7 100644 --- a/hugo/hugo-lecture/archetypes/lecture-cg.md +++ b/hugo/hugo-lecture/archetypes/lecture-cg.md @@ -23,10 +23,13 @@ assignments: - topic: sheet02 youtube: - link: "https://youtu.be/XYZ" - name: "Use This As Link Text" + name: "Use This As Link Text (Direkt-Link)" fhmedia: - link: "https://www.hsbi.de/medienportal/m/XYZ" name: "Use This As Link Text (Direkt-Link)" +tibav: + - link: "https://av.tib.eu/media/XYZ" + name: "Use This As Link Text (Direkt-Link)" sketch: true --- diff --git a/hugo/hugo-lecture/layouts/partials/archetypes/lecture-cg/article.html b/hugo/hugo-lecture/layouts/partials/archetypes/lecture-cg/article.html index f507c9d..f674dab 100644 --- a/hugo/hugo-lecture/layouts/partials/archetypes/lecture-cg/article.html +++ b/hugo/hugo-lecture/layouts/partials/archetypes/lecture-cg/article.html @@ -20,6 +20,11 @@ {{ .Scratch.Set "videos_linktext" "Direkt-Link HSBI-Medienportal" }} {{ partial "videos.html" . }} + {{ .Scratch.Set "videos_params" .Params.tibav }} + {{ .Scratch.Set "videos_title" "Videos (TIB AV-Portal)" }} + {{ .Scratch.Set "videos_linktext" "Direkt-Link TIB AV-Portal" }} + {{ partial "videos.html" . }} + {{ .Scratch.Set "attachments_title" "Slides" }} {{ partial "attachments.html" . }}