Skip to content

Commit

Permalink
fix merge assignment
Browse files Browse the repository at this point in the history
block is created on line 3
  • Loading branch information
SallyMcGrath committed Oct 28, 2023
1 parent 42266a6 commit cfa5442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/block/pd.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

{{/* We get PD times from the font-matter in the PD CMS, not the block's own front-matter */}}
{{ .Page.Scratch.SetInMap "blockData" "time" $parsedFrontMatter.time }}
{{ $block := $parsedFrontMatter | default $blockData }}
{{ $block = $parsedFrontMatter | default $blockData }}

<section class="c-block c-block--{{$blockData.type}}">
<header class="c-block__header">
Expand Down

0 comments on commit cfa5442

Please sign in to comment.