diff options
author | Max Mehl <mail@mehl.mx> | 2020-10-31 21:23:34 +0300 |
---|---|---|
committer | Max Mehl <mail@mehl.mx> | 2020-10-31 21:23:34 +0300 |
commit | e73ab513607dafbe0aa69a35c68610ad7bd108be (patch) | |
tree | 6793cec5598eec56ae39c6c5ae756f8d7abded2a /layouts | |
parent | 198870333db17383563c7513d8b6ec9846449689 (diff) |
add thumbnail_hide_post
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/single.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 9c84ca4..b5ba965 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -10,7 +10,7 @@ <div class="post__meta meta">{{ . }}</div> {{- end }} </header> - {{- if .Params.thumbnail }} + {{- if and (.Params.thumbnail) (not .Params.thumbnail_hide_post) }} <figure class="post__thumbnail"> <img src="{{ .Params.thumbnail | relURL }}" alt="{{ .Title }}"> </figure> |