| tDecrease total size by using global JPG quality and a max size of 1000x1000 - … | |
| git clone git://src.adamsgaard.dk/andersdamsgaard.com | |
| Log | |
| Files | |
| Refs | |
| Submodules | |
| README | |
| LICENSE | |
| --- | |
| commit e6f73b503ef71f871bdf5c6aa16000028457b0bf | |
| parent 958ac35a80ffd8978d619c0bf02df84d1bd81cfe | |
| Author: Anders Damsgaard <[email protected]> | |
| Date: Sun, 4 Nov 2018 22:50:59 +0100 | |
| Decrease total size by using global JPG quality and a max size of 1000x1000 | |
| Diffstat: | |
| M config.toml | 2 +- | |
| M content/about/_index.da.md | 2 +- | |
| M content/about/_index.md | 2 +- | |
| A content/about/anders_damsgaard_por… | 0 | |
| D content/about/anders_damsgaard_por… | 0 | |
| M themes/tale-mod/layouts/_default/s… | 3 +-- | |
| M themes/tale-mod/layouts/_default/s… | 3 +-- | |
| 7 files changed, 5 insertions(+), 7 deletions(-) | |
| --- | |
| diff --git a/config.toml b/config.toml | |
| t@@ -41,7 +41,7 @@ defaultContentLanguage = "en" | |
| resampleFilter = "Lanczos" | |
| # Defatult JPEG quality setting. Default is 75. | |
| -quality = 90 | |
| +quality = 75 | |
| # Anchor used when cropping pictures. | |
| # Default is "smart" which does Smart Cropping, using https://github.com/muesl… | |
| diff --git a/content/about/_index.da.md b/content/about/_index.da.md | |
| t@@ -14,4 +14,4 @@ I min professionelle tilværelse forsker jeg i klima, granul… | |
| gletschere. Besøg min [akademiske hjemmeside](https://adamsgaard.dk) for mere | |
| information herom. | |
| -{{< imgproc "anders_damsgaard_portrait.png" Resize "x1000" >}} | |
| +{{< imgproc "anders_damsgaard_portrait.jpg" Fit "1000x1000" >}} | |
| diff --git a/content/about/_index.md b/content/about/_index.md | |
| t@@ -14,4 +14,4 @@ In my other life I am a scientist interested in climate, gra… | |
| and glaciers. For more information, please see my [academic | |
| webpage](https://adamsgaard.dk). | |
| -{{< imgproc "anders_damsgaard_portrait.png" Resize "x1000" >}} | |
| +{{< imgproc "anders_damsgaard_portrait.jpg" Fit "1000x1000" >}} | |
| diff --git a/content/about/anders_damsgaard_portrait.jpg b/content/about/anders… | |
| Binary files differ. | |
| diff --git a/content/about/anders_damsgaard_portrait.png b/content/about/anders… | |
| Binary files differ. | |
| diff --git a/themes/tale-mod/layouts/_default/single.da.html b/themes/tale-mod/… | |
| t@@ -23,8 +23,7 @@ | |
| {{ $scratch.Set "counter" 0 }} | |
| {{ range . }} | |
| - {{/* $scratch.Set "image" (.Resize "1200x q90") */}} | |
| - {{ $scratch.Set "image" (.Fit "1200x1200 q90") }} | |
| + {{ $scratch.Set "image" (.Fit "1000x1000") }} | |
| {{ $image := $scratch.Get "image" }} | |
| {{/* $image.Sharpen 0.5 */}} | |
| <figure style="padding: 0.0rem; margin: 2rem 0; | |
| diff --git a/themes/tale-mod/layouts/_default/single.html b/themes/tale-mod/lay… | |
| t@@ -23,8 +23,7 @@ | |
| {{ $scratch.Set "counter" 0 }} | |
| {{ range . }} | |
| - {{/* $scratch.Set "image" (.Resize "1200x q90") */}} | |
| - {{ $scratch.Set "image" (.Fit "1200x1200 q90") }} | |
| + {{ $scratch.Set "image" (.Fit "1000x1000") }} | |
| {{ $image := $scratch.Get "image" }} | |
| {{/* $image.Sharpen 0.5 */}} | |
| <figure style="padding: 0.0rem; margin: 2rem 0; |