From 3b73dfc44badc90953cc3f4b239b679c9e46cd34 Mon Sep 17 00:00:00 2001 From: Martijn Cuppens Date: Sun, 30 Jun 2019 15:24:24 +0200 Subject: Allow to pass integrity & async attribute to extra js --- site/layouts/_default/examples.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'site/layouts/_default/examples.html') diff --git a/site/layouts/_default/examples.html b/site/layouts/_default/examples.html index d6050625d..827292d6d 100644 --- a/site/layouts/_default/examples.html +++ b/site/layouts/_default/examples.html @@ -50,7 +50,9 @@ {{ end }} {{ range .Page.Params.extra_js }} - + {{ $integrity := .integrity }} + {{ $async := .async }} + {{- end }} {{ end }} -- cgit v1.2.3