shithub: hugo

Download patch

ref: df8e93668703e1826e77db8687b5d8f918d62f6f
parent: b719ba7e2bd612e85e539b17569ed15066ebcc07
author: bep <[email protected]>
date: Mon Dec 1 08:57:58 EST 2014

Fix missing shortcode in doc

Use new syntax for example.

--- a/docs/content/tutorials/migrate-from-jekyll.md
+++ b/docs/content/tutorials/migrate-from-jekyll.md
@@ -141,7 +141,7 @@
 
 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.