From f30c92a32ca95dd681be58830c90091856ee5cdb Mon Sep 17 00:00:00 2001 From: Christopher Guindon Date: Tue, 13 Jul 2021 08:39:03 -0400 Subject: [PATCH] fix adopters (#233) * fix adopters Signed-off-by: Christopher Guindon * fix adopters Signed-off-by: Christopher Guindon --- layouts/partials/footer_js.html | 23 +++++++++++++++++---- layouts/shortcodes/eclipsefdn_adopters.html | 7 +++++-- 2 files changed, 24 insertions(+), 6 deletions(-) diff --git a/layouts/partials/footer_js.html b/layouts/partials/footer_js.html index f1085ca..50f189c 100644 --- a/layouts/partials/footer_js.html +++ b/layouts/partials/footer_js.html @@ -3,12 +3,12 @@ {{- with .Site.Params.js | default "https://www.eclipse.org/eclipse.org-common/themes/solstice/public/javascript/main.min.js"}} {{ end }} -{{ if isset .Site.Params "hugo_js" }} - {{- with .Site.Params.hugo_js }} - - {{ end }} + +{{- with .Site.Params.hugo_js }} + {{ end }} + {{ range $key, $value := (.Page.Scratch.Get "mustache-templates") }} + + \ No newline at end of file diff --git a/layouts/shortcodes/eclipsefdn_adopters.html b/layouts/shortcodes/eclipsefdn_adopters.html index 919ca06..d42814d 100644 --- a/layouts/shortcodes/eclipsefdn_adopters.html +++ b/layouts/shortcodes/eclipsefdn_adopters.html @@ -15,5 +15,8 @@
+ var eclipsefdn_adopters_configs = { + working_group: "{{ $working_group }}", + ul_classes: "{{ $ul_classes }}" + } + \ No newline at end of file