render a good METASP for svelte

master
Marcell Mars 3 years ago
parent a51ae25ec7
commit ffcc939c4b

@ -11,7 +11,7 @@
{{ if in $sections $k }}
{{ $tiers = (slice) }}
{{ range where $.Site.RegularPages "Section" $k }}
{{ $tiers = $tiers | append .File.LogicalName }}
{{ $tiers = $tiers | append (merge (dict "file" .File.LogicalName) (dict "title" .Title)) }}
{{ end }}
{{ $metasp = merge $metasp (dict $v (merge (dict "singular" $k) (dict "tiers" $tiers))) }}
{{ end }}

Loading…
Cancel
Save