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:
-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" >}}