mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
Fix missing shortcode in doc
Use new syntax for example.
This commit is contained in:
@@ -141,7 +141,7 @@ I simply changed:
|
|||||||
|
|
||||||
to this (this example uses a slightly extended version named `fig`, different than the built-in `figure`):
|
to this (this example uses a slightly extended version named `fig`, different than the built-in `figure`):
|
||||||
|
|
||||||
{{% fig class="full" src="http://farm5.staticflickr.com/4136/4829260124_57712e570a_o_d.jpg" title="One of my favorite touristy-type photos. I secretly waited for the good light while we were having fun and took this. Only regret: a stupid pole in the top-left corner of the frame I had to clumsily get rid of at post-processing." link="http://www.flickr.com/photos/alexnormand/4829260124/in/set-72157624547713078/" %}}
|
{{</* fig class="full" src="http://farm5.staticflickr.com/4136/4829260124_57712e570a_o_d.jpg" title="One of my favorite touristy-type photos. I secretly waited for the good light while we were having fun and took this. Only regret: a stupid pole in the top-left corner of the frame I had to clumsily get rid of at post-processing." link="http://www.flickr.com/photos/alexnormand/4829260124/in/set-72157624547713078/" */>}}
|
||||||
|
|
||||||
As a bonus, the shortcode named parameters are, arguably, more readable.
|
As a bonus, the shortcode named parameters are, arguably, more readable.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user