summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2016-11-01 10:24:13 +0100
committerschneefux <schneefux+commit@schneefux.xyz>2016-11-01 10:24:18 +0100
commit76cf22fec8c1cff3f24c04fc0a9ea83b4dc444fe (patch)
tree88383a07f89309f30ed090d2b6933e8573acba63 /themes
parent59b3591d22a6050bee421af3c58cab302f197ab5 (diff)
downloadpragblog-76cf22fec8c1cff3f24c04fc0a9ea83b4dc444fe.tar.gz
pragblog-76cf22fec8c1cff3f24c04fc0a9ea83b4dc444fe.zip
also compress main images
Diffstat (limited to 'themes')
-rw-r--r--themes/flog/layouts/partials/listing.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/flog/layouts/partials/listing.html b/themes/flog/layouts/partials/listing.html
index c652294..cefede4 100644
--- a/themes/flog/layouts/partials/listing.html
+++ b/themes/flog/layouts/partials/listing.html
@@ -11,9 +11,9 @@
<div class="card">
{{ if .Params.image }}
<div class="card-image">
- <a class="jsonly" href="{{ .RelPermalink }}"><img src="/images/min/{{ .Params.image }}" onload="this.src = '/images/{{ .Params.image }}'"></a>
+ <a class="jsonly" href="{{ .RelPermalink }}"><img src="/images/min/{{ .Params.image }}" onload="this.src = '/images/max/{{ .Params.image }}'"></a>
<noscript>
- <a href="{{ .RelPermalink }}"><img src="/images/{{ .Params.image }}"></a>
+ <a href="{{ .RelPermalink }}"><img src="/images/max/{{ .Params.image }}"></a>
<style>.jsonly { display: none }</style>
</noscript>
</div>