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

github.com/gohugoio/hugoThemesSite.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/thumbnail.html')
-rw-r--r--layouts/_default/thumbnail.html1
1 files changed, 0 insertions, 1 deletions
diff --git a/layouts/_default/thumbnail.html b/layouts/_default/thumbnail.html
index 8efbad7..df36783 100644
--- a/layouts/_default/thumbnail.html
+++ b/layouts/_default/thumbnail.html
@@ -1,5 +1,4 @@
{{ $img := (.Resources.ByType "image").GetMatch "*tn*" }}
- {{ if eq $.Params.name "Academic" }}{{ $img = (.Resources.ByType "image").GetMatch "*screenshot*" }}{{ end }}
{{ with $img }}
{{ $big := .Fill "768x512 top" }}
{{ $small := .Fill "384x256 top" }}