diff --git a/site/layouts/page/subpage.html b/site/layouts/page/subpage.html index 0451aad..7e37382 100644 --- a/site/layouts/page/subpage.html +++ b/site/layouts/page/subpage.html @@ -17,10 +17,8 @@ {{ partial "sub-pages/section_end.html" . }} {{ if eq .Params.sigtable true }} + {{ partial "sub-pages/action.html" . }} {{ partial "organisations.html" . }} - {{ end }} - - {{ if eq .Params.sigtable true }} {{ partial "sub-pages/sigtable.html" . }} {{ end }} diff --git a/site/layouts/partials/action.html b/site/layouts/partials/action.html index 196b7cf..436dc5a 100644 --- a/site/layouts/partials/action.html +++ b/site/layouts/partials/action.html @@ -8,77 +8,8 @@
{{ .Site.Params.action.intro | markdownify }}
{{ .Site.Params.action.demand | markdownify }}
{{ (replace (replace .Site.Params.action.description "$ORGS" (partial "functions/count_organisations.html" .) ) "$INDS" (partial "functions/count_signatures.html" .)) | markdownify }}
- - + + {{ partial "functions/sign-form.html" . }} diff --git a/site/layouts/partials/functions/sign-form.html b/site/layouts/partials/functions/sign-form.html new file mode 100644 index 0000000..f18b5ca --- /dev/null +++ b/site/layouts/partials/functions/sign-form.html @@ -0,0 +1,70 @@ + diff --git a/site/layouts/partials/sub-pages/action.html b/site/layouts/partials/sub-pages/action.html new file mode 100644 index 0000000..45a33a5 --- /dev/null +++ b/site/layouts/partials/sub-pages/action.html @@ -0,0 +1,13 @@ +{{ "" | safeHTML }} +