diff --git a/site/data/signatures/.gitignore b/site/data/signatures/.gitignore index a591abb..d6b7ef3 100644 --- a/site/data/signatures/.gitignore +++ b/site/data/signatures/.gitignore @@ -1,3 +1,2 @@ * !.gitignore -!signatures.json diff --git a/site/data/signatures/signatures.json b/site/data/signatures/signatures.json deleted file mode 120000 index 0cb3bfd..0000000 --- a/site/data/signatures/signatures.json +++ /dev/null @@ -1 +0,0 @@ -/usr/share/more-signatures/signatures.json \ No newline at end of file diff --git a/site/layouts/partials/functions/count_signatures.html b/site/layouts/partials/functions/count_signatures.html index 3c17e36..28af8e6 100644 --- a/site/layouts/partials/functions/count_signatures.html +++ b/site/layouts/partials/functions/count_signatures.html @@ -1,2 +1,2 @@ -{{ $json := getJSON "data/signatures/data/signatures_clean.json" }} +{{ $json := getJSON "data/signatures/signatures.json" }} {{- len $json -}} diff --git a/site/layouts/partials/subpage_sigtable.html b/site/layouts/partials/subpage_sigtable.html index d81caa2..1b93555 100644 --- a/site/layouts/partials/subpage_sigtable.html +++ b/site/layouts/partials/subpage_sigtable.html @@ -7,15 +7,15 @@ - {{ range .Site.Data.signatures.data }} - {{ range sort . "id" "desc" }} - {{ if (eq .confirmed "yes") | and (eq .permPub "yes") }} + {{ range .Site.Data.signatures }} + {{ range . }} + {{ if (eq .include_vars.permissionPub "yes") }} - {{ .name }} - {{ .country }} - {{ .comment }} + {{ .include_vars.name }} + {{ .include_vars.country }} + {{ .include_vars.comment }} - {{ end }} + {{ end }} {{ end }} {{ end }}