Commit b79650c9 authored by Betz's avatar Betz

README image shortcode

parent b36777c9
Pipeline #50349554 passed with stages
in 1 minute and 10 seconds
......@@ -27,6 +27,31 @@ https://gohugo.io/
This shows a list of events with 'series' set as 'foobar'
On and event page, you can add 'series: foobar' on the top to define this as a event of series 'foobar'.
### Add a single image
- create a folder in event or project directory
- place your image in this directory
- Put this tag in your event or project .md file
~~~
{{< image src="images/rochellsalt.jpg">}}
~~~
If the image needs to be rescaled to 200px for example, use the width attribute.
Pixels are listed as x. (100x = 100px)
~~~
{{< image src="images/foobar.jpg" width="200x" link="images/foobar.jpg" >}}
~~~
If that image needs to link to something, use the link attribute.
~~~
{{< image src="images/foobar.jpg" link="images/foobar.jpg" >}}
~~~
Example, an image rescaled to 100 pixels width, linking to the original image.
~~~
{{< image src="images/foobar.jpg" width="200x" link="images/foobar.jpg" >}}
~~~
In all examples above, the foobar.jpg image is placed in a directory within that event or project folder, named 'images'.
### Add an image gallery
- Create a folder in your event/project directory.
- Put images in the newly created directory.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment