diff --git a/README.md b/README.md index 36f6e137..84b10ab1 100644 --- a/README.md +++ b/README.md @@ -463,8 +463,8 @@ These are the named parameters with positions, listed in the order of their posi src="https://imgs.xkcd.com/comics/sandwich.png" link="https://xkcd.com/149" caption="My caption" - alt="My alt" - title="My title" >}} + title="My title" + alt="My alt" >}} ``` These are the rest of the named parameters: diff --git a/layouts/shortcodes/paige/figure.html b/layouts/shortcodes/paige/figure.html index 98d90b9e..03f7e2d1 100644 --- a/layouts/shortcodes/paige/figure.html +++ b/layouts/shortcodes/paige/figure.html @@ -3,7 +3,7 @@ {{ with $link }} {{ end }} - + {{ if $link }} {{ end }}