Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update cop display order to be alphabetical #7757

Closed
wants to merge 9 commits into from
2 changes: 1 addition & 1 deletion themes/digital.gov/layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{{- "<!-- Google Tag Manager (noscript) -->" | safeHTML -}}
<noscript
><iframe
src="https://www.googletagmanager.com/ns.html?id=GTM-MZCKZPQ"
src="https://www.googletagmanager.com/ns.html?id=G-HBYXWFP794"
height="0"
width="0"
style="display:none;visibility:hidden"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
{{ $communities := (where $context.Site.Pages "Section" "communities").ByTitle }}
{{ $communities = (where $communities ".Params.weight" "ge" 1) }}
{{ $dg_communities := (where $communities ".Params.dg_highlight" "eq" true) }}
{{/* featured community is listed first, followed by the other dg 7 listed alphabetically by title */}}
{{ $featured_community := (where $communities ".Params.weight" "eq" 2) }}
{{ $dg_communities = union $featured_community $dg_communities }}


<div class="page-head">
Expand Down
3 changes: 2 additions & 1 deletion themes/digital.gov/layouts/partials/core/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,9 @@
j.async = true;
j.src = "https://www.googletagmanager.com/gtm.js?id=" + i + dl;
f.parentNode.insertBefore(j, f);
})(window, document, "script", "dataLayer", "GTM-MZCKZPQ");
})(window, document, "script", "dataLayer", "G-HBYXWFP794");
</script>

{{ "<!-- End Google Tag Manager -->" | safeHTML }}

{{ "<!-- Page Title -->" | safeHTML }}
Expand Down