diff --git a/docs/config.toml b/docs/config.toml
index 19bd8fe87d7af..d4cd5b6af43ed 100644
--- a/docs/config.toml
+++ b/docs/config.toml
@@ -50,6 +50,7 @@ pygmentsUseClasses = true
# Flink training exercises
TrainingExercises = "//github.com/apache/flink-training"
+ TrainingExercisesBranch = "master"
# This suffix is appended to the Scala-dependent Maven artifact names
ScalaVersion = "_2.12"
diff --git a/docs/layouts/shortcodes/training_link.html b/docs/layouts/shortcodes/training_link.html
index 2f0e3cb5d8a72..e8f2c2f049b86 100644
--- a/docs/layouts/shortcodes/training_link.html
+++ b/docs/layouts/shortcodes/training_link.html
@@ -23,6 +23,6 @@
- file: The absolute path to the image file (required)
- name: The rendered link name (required)
*/}}
-
+
{{ .Get "name" }}
diff --git a/docs/layouts/shortcodes/training_repo.html b/docs/layouts/shortcodes/training_repo.html
index 939f334facc54..d6f0992a9d1be 100644
--- a/docs/layouts/shortcodes/training_repo.html
+++ b/docs/layouts/shortcodes/training_repo.html
@@ -23,7 +23,6 @@
- file: The absolute path to the image file (required)
- name: The rendered link name (required)
*/}}
-
+
flink-training-repo
-