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:
authorAlex <onedrawingperday@gmail.com>2020-05-15 19:22:20 +0300
committerAlex <onedrawingperday@gmail.com>2020-05-15 19:22:20 +0300
commit51868f7f5b502cad76ce6d2cad191a869ab5c9ee (patch)
treea48145560ac73c1622c5df8aa8ff04e2ba06b50c
parent54447390b5d70192fb1386c9c80aac54cf48c55c (diff)
Revert commit 5444739
This re-enables the Academic Theme's tn.png after the author responded in gcushen/hugo-academic#1684
-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" }}