WIP
This commit is contained in:
		| @@ -4,6 +4,7 @@ NB this overrides Hugo's built-in "figure" shortcode but is backwards compatible | ||||
| Documentation and licence at https://github.com/liwenyip/hugo-easy-gallery/ | ||||
| --> | ||||
| <!-- count how many times we've called this shortcode; load the css if it's the first time --> | ||||
| <link rel="stylesheet" href={{ "css/hugo-easy-gallery.css" | relURL }} /> | ||||
| {{- if not ($.Page.Scratch.Get "figurecount") }}<link rel="stylesheet" href={{ "css/hugo-easy-gallery.css" | relURL }} />{{ end }} | ||||
| {{- $.Page.Scratch.Add "figurecount" 1 -}} | ||||
| <!-- use either src or link-thumb for thumbnail image --> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user