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

github.com/eshlox/simplicity.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrzemysław Kołodziejczyk <eshlox@vertolabs.com>2018-05-06 20:55:47 +0300
committerPrzemysław Kołodziejczyk <eshlox@vertolabs.com>2018-05-06 20:55:47 +0300
commitd18ca94c320db2a4e9ebc0bb96202b8a5310a77e (patch)
tree67088cac6b9a071a2e9d6c5aa610828a58d36127
parente528016466d9ec24496f55498c4cf189129f3f42 (diff)
Add resize=false example
-rw-r--r--exampleSite/content/posts/2017/images.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/exampleSite/content/posts/2017/images.md b/exampleSite/content/posts/2017/images.md
index 4794586..003d987 100644
--- a/exampleSite/content/posts/2017/images.md
+++ b/exampleSite/content/posts/2017/images.md
@@ -65,3 +65,13 @@ Example code:
Result:
{{< image src="media/image-1.jpg" title="Photo by Ales Krivec on Unsplash" full="true" >}}
+
+Add `resize=false` parameter to display original image without resizing (useful for animated GIFs).
+
+```html
+{{</* image src="media/image-1.jpg" title="Photo by Ales Krivec on Unsplash" resize="false" */>}}
+```
+
+Result:
+
+{{< image src="media/image-1.jpg" title="Photo by Ales Krivec on Unsplash" resize="false" >}}