Skip to content

Commit ff32ad0

Browse files
authored
Fix example usage of img function in article-edit.html
1 parent e0a40f5 commit ff32ad0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

article-edit.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
<i>Note 1</i>: You can insert an image from your media library into the body of the article with an expression like this:
8686
<b>{{ img('image-id.jpg', a, {width: 725, height: 400, title: true, caption: true, style: 'float: right', version: 'small'}) }}</b>.
8787
Remark: You can enter a <i>string</i> in the <i>title/caption</i> attribute if you want to use a text other than the one defined in the image record.
88-
For example: <b>{{ img('image-id.jpg', {title: 'My tooltip'}, a) }}</b>.<br/>
88+
For example: <b>{{ img('image-id.jpg', a, {title: 'My tooltip'}) }}</b>.<br/>
8989
<br/>
9090
<i>Note 2</i>: You can use the <i>declare</i> function within the Twig code to change some template settings without having to change it for all the other articles.
9191
For example, <b>{{ declare('timeline-label', 'Events', a) }}</b> changes the label of the list of events displayed on the <i>Analysis</i> page, which now displays the text "Events" instead of "Timeline".

0 commit comments

Comments
 (0)