Fix next step button

This commit is contained in:
Abdon Pijpelink
2026-03-24 16:08:59 +01:00
parent ea5b4b7858
commit d281127363
@@ -21,7 +21,7 @@
<div class="d-flex justify-content-lg-end pb-3 pt-4"> <div class="d-flex justify-content-lg-end pb-3 pt-4">
{{/* Determine the course section */}} {{/* Determine the course section */}}
{{ $subject := "" }} {{ $subject := "" }}
{{ if eq .Params.isLesson true }} {{ if .IsSection }}
{{/* Current page is a lesson (_index.md), parent is the course section */}} {{/* Current page is a lesson (_index.md), parent is the course section */}}
{{ $subject = .Parent }} {{ $subject = .Parent }}
{{ else }} {{ else }}