Skip to content

Commit ba3eeb9

Browse files
committed
[docs] Fix broken flink-training links in hands-on section
1 parent abf53fb commit ba3eeb9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/layouts/shortcodes/training_link.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@
2323
- file: The absolute path to the image file (required)
2424
- name: The rendered link name (required)
2525
*/}}
26-
<a href="{{ .Site.Params.TrainingExercises }}/blob/{{ .Site.Params.Branch }}/{{ .Get "file" }}">
26+
<a href="{{ .Site.Params.TrainingExercises }}/tree/{{ .Site.Params.TrainingBranch | default "master" }}/{{ .Get "file" }}">
2727
{{ .Get "name" }}
2828
</a>

docs/layouts/shortcodes/training_repo.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
- file: The absolute path to the image file (required)
2424
- name: The rendered link name (required)
2525
*/}}
26-
<a href="{{ .Site.Params.TrainingExercises }}/tree/{{ .Site.Params.Branch }}/">
26+
<a href="{{ .Site.Params.TrainingExercises }}/tree/{{ .Site.Params.TrainingBranch | default "master" }}/">
2727
flink-training-repo
2828
</a>
2929

0 commit comments

Comments
 (0)