From: Bjørn Erik Pedersen Date: Tue, 22 May 2018 07:11:34 +0000 (+0200) Subject: tpl: Add another class and an id to youtube_simple X-Git-Tag: v0.41~26 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=14705ecead09a0ad8dfa4de2d9b5ba9188c32d07;p=brevno-suite%2Fhugo tpl: Add another class and an id to youtube_simple To provide some more styling options. See #4616 --- diff --git a/tpl/tplimpl/embedded/templates.autogen.go b/tpl/tplimpl/embedded/templates.autogen.go index de0e21c5..ff65fe6a 100644 --- a/tpl/tplimpl/embedded/templates.autogen.go +++ b/tpl/tplimpl/embedded/templates.autogen.go @@ -341,7 +341,9 @@ M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.5 {{/* If class is set, assume the user wants to provide his own styles. */}} {{ template "__h_simple_css" $ }} {{ end }} -
+{{ $secondClass := "s_youtube_simple" }} +{{ $divID := printf "%s_%d" $secondClass (add $.Ordinal 1) }} +