Skip to content

Commit dae3ded

Browse files
committed
Auto-sync: 2026-02-08T16:16:36.113Z
1 parent 727b266 commit dae3ded

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

layouts/_partials/views/citation.html

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
{{ $item := .item }}
22
{{ $year_value := $item.Params.event_start | default $item.Date }}
33
{{ $year := (time $year_value).Format "2006" }}
4-
{{ $displayYear := $year }}
5-
{{ if in $item.Params.tags "in-review" }}
6-
{{ $displayYear = "Sub Judice" }}
7-
{{ end }}
4+
{{ $displayYear := cond (in $item.Params.tags "in-review") "Sub Judice" $year }}
85
{{ $has_attachments := partial "functions/has_attachments" $item }}
96

107
{{/* Build author string for data attribute */}}

0 commit comments

Comments
 (0)