shithub: hugo

Download patch

ref: 68b424c233cf9cc9d4987956d93e5953599b8b55
parent: 36b374f8ab788521991dfccf0cd765120cb9d7df
author: Anthony Fok <foka@debian.org>
date: Sat Aug 8 10:22:48 EDT 2015

docs: Clean up and align Showcase thumbnail images

Some of the thumbnails in Showcase were out of place
because of several irregularly sized thumbnails,
and some of them almost 300KB in filesize.

Resize them all to 600x400 (pixels), and use the `-tn.png`
suffix.

When necessary, the website snapshot is re-captured using
gnome-web-photo.  Then, the following commands (or a combination
thereof) are used to crop and resize the image into a thumbnail,
and to reduce its filesize:

    $ convert example.png -crop 900x600+0+0 \
                          -filter Lanczos2Sharp -distort Resize 600x400 \
                          example-tn.png
    $ pngquant --nofs -v --speed 1 --quality 65-80 example-tn.png
    $ optipng -o7 -zm1-9 example-tn-or8.png
    $ mv example-tn-or8.png example-tn.png

--- a/docs/content/showcase/esolia-com.md
+++ b/docs/content/showcase/esolia-com.md
@@ -10,6 +10,6 @@
 - esolia
 - rickcogley
 - japan
-thumbnail: /img/esolia_com_tn.png
+thumbnail: /img/esolia_com-tn.png
 title: eSolia.com
 ---
--- a/docs/content/showcase/esolia-pro.md
+++ b/docs/content/showcase/esolia-pro.md
@@ -10,6 +10,6 @@
 - esolia
 - rickcogley
 - japan
-thumbnail: /img/esolia_pro_tn.png
+thumbnail: /img/esolia_pro-tn.png
 title: eSolia.pro
 ---
--- a/docs/content/showcase/rick-cogley-info.md
+++ b/docs/content/showcase/rick-cogley-info.md
@@ -10,6 +10,6 @@
 - blog
 - rickcogley
 - japan
-thumbnail: /img/rick_cogley_info_tn.png
+thumbnail: /img/rick_cogley_info-tn.png
 title: rick.cogley.info
 ---
--- a/docs/content/showcase/samuelbe.md
+++ b/docs/content/showcase/samuelbe.md
@@ -8,7 +8,7 @@
 tags:
 - personal
 - blog
-thumbnail: /img/samuelbe.png
+thumbnail: /img/samuelbe-tn.png
 title: sa.muel.be
 ---
 
--- a/docs/content/showcase/scottcwilson.md
+++ b/docs/content/showcase/scottcwilson.md
@@ -8,7 +8,7 @@
 tags:
 - personal
 - blog
-thumbnail: /img/scottcwilson.jpg
+thumbnail: /img/scottcwilson-tn.png
 title: scottcwilson.com
 ---
 
--- a/docs/content/showcase/thehome.md
+++ b/docs/content/showcase/thehome.md
@@ -8,7 +8,7 @@
 tags:
 - personal
 - blog
-thumbnail: /img/thehome.png
+thumbnail: /img/thehome-tn.png
 title: thehome.dk
 ---
 
--- a/docs/content/showcase/vamp.md
+++ b/docs/content/showcase/vamp.md
@@ -9,7 +9,7 @@
 - documentation
 - company
 - api
-thumbnail: /img/vamp_landingpage.png
+thumbnail: /img/vamp_landingpage-tn.png
 title: Vamp.io
 ---
 
--- a/docs/content/showcase/yslow-rules.md
+++ b/docs/content/showcase/yslow-rules.md
@@ -9,7 +9,7 @@
 - community
 - documentation
 - translation
-thumbnail: /img/yslow-rules.png
+thumbnail: /img/yslow-rules-tn.png
 title: YSlow Rules
 ---
 
binary files a/docs/static/img/bepsays-tn.png b/docs/static/img/bepsays-tn.png differ
binary files /dev/null b/docs/static/img/esolia_com-tn.png differ
binary files a/docs/static/img/esolia_com_tn.png /dev/null differ
binary files /dev/null b/docs/static/img/esolia_pro-tn.png differ
binary files a/docs/static/img/esolia_pro_tn.png /dev/null differ
binary files a/docs/static/img/kangkona-tn.png b/docs/static/img/kangkona-tn.png differ
binary files a/docs/static/img/learnoverpass-tn.png b/docs/static/img/learnoverpass-tn.png differ
binary files /dev/null b/docs/static/img/rick_cogley_info-tn.png differ
binary files a/docs/static/img/rick_cogley_info_tn.png /dev/null differ
binary files /dev/null b/docs/static/img/samuelbe-tn.png differ
binary files a/docs/static/img/samuelbe.png /dev/null differ
binary files /dev/null b/docs/static/img/scottcwilson-tn.png differ
binary files a/docs/static/img/scottcwilson.jpg /dev/null differ
binary files a/docs/static/img/stou-tn.png b/docs/static/img/stou-tn.png differ
binary files a/docs/static/img/szymonkatra-tn.png b/docs/static/img/szymonkatra-tn.png differ
binary files /dev/null b/docs/static/img/thehome-tn.png differ
binary files a/docs/static/img/thehome.png /dev/null differ
binary files /dev/null b/docs/static/img/vamp_landingpage-tn.png differ
binary files a/docs/static/img/vamp_landingpage.png /dev/null differ
binary files /dev/null b/docs/static/img/yslow-rules-tn.png differ
binary files a/docs/static/img/yslow-rules.png /dev/null differ
--