_layouts/page.html in jekyll-agency-1.1.0 vs _layouts/page.html in jekyll-agency-1.2.0

- old
+ new

@@ -1,8 +1,14 @@ ---- -layout: default ---- -{% include nav.html %} - -<div class="container" id="pagecontainer"> -{{ content }} -</div> \ No newline at end of file +--- +layout: default +--- +{% include nav.html %} + +{% if page.background == "grey" or page.background == "gray" %} +<script> +document.getElementById("page-top").className="bg-light"; +</script> +{% endif %} + +<div class="container" id="pagecontainer"> +{{ content }} +</div>