Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruPagge <git@upagge.ru>2021-06-06 16:55:30 +0300
committeruPagge <git@upagge.ru>2021-06-06 16:55:30 +0300
commitbaf764592aae371cf723a9e64c8d3ef027f37332 (patch)
treeba114e4d0aaf29d90b0c894eca2577d189025781
parent81b05516178f2d0ae1e852a756700e6639f17983 (diff)
hiddenDateUpdate
-rw-r--r--layouts/posts/single.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/posts/single.html b/layouts/posts/single.html
index e6470ed..331d3b0 100644
--- a/layouts/posts/single.html
+++ b/layouts/posts/single.html
@@ -255,6 +255,7 @@
{{- /* Content */ -}}
+ {{ if eq ($params.Page.hiddenDateUpdate | default false) false }}
{{- with .Site.Params.dateformat | default "2006-01-02" | .Lastmod.Format -}}
{{- $updateDate := . -}}
{{- if not (eq . ($.Site.Params.dateformat | default "2006-01-02" | $.PublishDate.Format)) -}}
@@ -271,6 +272,7 @@
{{- end -}}
{{- end -}}
{{- end -}}
+ {{- end -}}
{{- dict "Content" .Content "Ruby" $params.ruby "Fraction" $params.fraction | partial "function/content.html" | safeHTML -}}