We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5bfcbb commit ee2b9a2Copy full SHA for ee2b9a2
content/post/_content.gotmpl
@@ -57,11 +57,8 @@
57
{{ $startAt := time.AsTime .attributes.startAt }}
58
{{ $weight := mul -1 $startAt.Unix }}
59
60
- {{/* Set expiryDate one day later */}}
61
- {{ $expiryDate := $startAt.AddDate 0 0 1 }}
62
-
63
- {{/* Set "Posted on" and expiry date. */}}
64
- {{ $dates := dict "date" (time.AsTime .attributes.publishedAt) /*"expiryDate" $expiryDate */}}
+ {{/* Set "Posted on" date. */}}
+ {{ $dates := dict "date" (time.AsTime .attributes.publishedAt) }}
65
66
{{/* Add page. */}}
67
{{ $page := dict
0 commit comments