* Shortcodes for images
This commit is contained in:
parent
e4a3dfa48e
commit
d57a8323c8
@ -7,7 +7,7 @@ category: article
|
|||||||
image: /media/thumbnails/cola.jpg
|
image: /media/thumbnails/cola.jpg
|
||||||
---
|
---
|
||||||
|
|
||||||
{{< pic "/media/img/cola1/finish1.jpg" >}}
|
{{< pic "/media/img/cola1/finish.jpg" >}}
|
||||||
|
|
||||||
# Taste
|
# Taste
|
||||||
|
|
||||||
@ -58,7 +58,7 @@ Mix the following together:
|
|||||||
|
|
||||||
Mix this up in a pot and get it to simmer for 20 minutes.
|
Mix this up in a pot and get it to simmer for 20 minutes.
|
||||||
|
|
||||||
{{< "/media/img/cola1/pot.jpg" >}}
|
{{< pic "/media/img/cola1/pot.jpg" >}}
|
||||||
|
|
||||||
While the pot is simmering take the 2 cups of sugar and blitz it in a food
|
While the pot is simmering take the 2 cups of sugar and blitz it in a food
|
||||||
processor. Doing this makes the sugar dissolve more easily later on when we
|
processor. Doing this makes the sugar dissolve more easily later on when we
|
||||||
|
1
themes/shockrah.xyz/layouts/shortcodes/pic.html
Normal file
1
themes/shockrah.xyz/layouts/shortcodes/pic.html
Normal file
@ -0,0 +1 @@
|
|||||||
|
<img class="pure-img-responsive" src="{{.Get 0}}" alt="{{.Get 1}}">
|
Loading…
Reference in New Issue
Block a user