Fix missing shortcode in doc

Use new syntax for example.
This commit is contained in:
bep 2014-12-01 13:57:58 +01:00 committed by spf13
parent b719ba7e2b
commit df8e936687

View file

@ -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.