diff options
author | Chen Xianmin <xianmin12@gmail.com> | 2018-05-10 10:00:29 +0300 |
---|---|---|
committer | Chen Xianmin <xianmin12@gmail.com> | 2018-05-10 10:01:00 +0300 |
commit | 3c34188d5b89c7ebd02487033994698999c4fab6 (patch) | |
tree | 330cf174ed9a671675d22608f74a9393d4268de3 | |
parent | a318f69c7b3c3dfb65b26b3390ac460f051278b8 (diff) |
fix: image preview in quick start error (#59)
-rw-r--r-- | exampleSite/content/post/image-preview.md | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/exampleSite/content/post/image-preview.md b/exampleSite/content/post/image-preview.md index f26dd2c..907e774 100644 --- a/exampleSite/content/post/image-preview.md +++ b/exampleSite/content/post/image-preview.md @@ -24,8 +24,6 @@ This is an image in `static/image` folder. ![This is an image in `static/image` folder.](/image/example.jpg) ``` -![This is an image in `static/image` folder.](/hugo-theme-jane/image/example.jpg) - <!--more--> ## `{{</* figure */>}}` shortcode @@ -37,18 +35,12 @@ This is an image in `static/image` folder. ``` -{{< figure src="/hugo-theme-jane/image/example.jpg" title="figure image with title">}} - - ### figure image with caption ``` {{</* figure src="/image/example.jpg" caption="figure image with caption figure image with caption figure image with caption figure image with caption figure image with caption" */>}} ``` -{{< figure src="/hugo-theme-jane/image/example.jpg" caption="figure image with caption figure image with caption figure image with caption figure image with caption figure image with caption" >}} - - ### more `{{</* figure */>}}` shortcode usage Specifying your image files: @@ -80,10 +72,6 @@ To specify a directory of image files: {{</* gallery dir="/img/your-directory-of-images/" */>}} ``` -This preview only one image. - -{{< gallery dir="/image/" />}} - - The images are automatically captioned with the file name. - `[image].jpg` is used for the hi-res image, and `[image]-thumb.jpg` is used for the thumbnails. - If `[image]-thumb.jpg` doesn't exist, then `[image].jpg` will be used for both hi-res and thumbnail images. |