mirror of https://github.com/lxndrblz/anatole.git

lxndrblz
11.09.2021 e4803723da018b6cc8c1f3735deda361b0f384ef
style: prettier format all files
1 files modified
2 ■■■■■ changed files
layouts/partials/expirationnote.html 2 ●●●●● patch | view | raw | blame | history
layouts/partials/expirationnote.html
@@ -5,11 +5,13 @@
  {{- if and (ne .Type "post") (ne .Type .Site.Params.postSectionName) -}}
    {{- $duration = 0 -}}
  {{- end -}}
  {{- if (isset .Params "old_content_duration") -}}
    {{- $duration = .Params.old_content_duration -}}
  {{- end -}}
  {{- if and (gt $ageDays $duration) (ne $duration 0) -}}