Skip to content

Commit

Permalink
update arguments passed to time-stamper
Browse files Browse the repository at this point in the history
  • Loading branch information
Dedekind561 committed Nov 19, 2024
1 parent f9f0d29 commit 084fe69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common-theme/layouts/_default/day-plan.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
{{ if not .Params.blocks }}
{{ errorf "There are no blocks on the %s page. Make sure this day plan has blocks." $.Page.RelPermalink }}
{{ end }}

<time-stamper start-time="{{ .Params.startTime | '10:00' }}">
{{ $startTime := .Params.startTime | default "10:00" }}
<time-stamper start-time="{{$startTime}}">
<div class="c-block__series c-block__series--timeline">
{{ if ne .Params.noRegister true }}
{{ partial "register-attendance.html" (dict "course" site.Title "module" $.Page.CurrentSection.Parent.Title "day" $.Page.CurrentSection.Title) }}
Expand Down

0 comments on commit 084fe69

Please sign in to comment.