Skip to content

Commit

Permalink
[#67] Dangerous comments
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuapease committed Feb 21, 2025
1 parent c57789d commit 7ac68d8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/_layouts/base.twig
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,12 @@
{# Hide elements if we're in the parts-kit #}
{% set isPartsKitUrl = craft.app.request.segments | first == 'parts-kit' %}

{# -- Dangerously adds raw HTML -- #}
{{ globalCode.head|raw }}
</head>
<body>

{# -- Dangerously adds raw HTML -- #}
{{ globalCode.bodyTop|raw }}

{% if not isPartsKitUrl %}
Expand All @@ -41,6 +43,7 @@
{{ include('_partials/footer.twig') }}
{% endif %}

{# -- Dangerously adds raw HTML -- #}
{{ globalCode.bodyBottom|raw }}

</body>
Expand Down

0 comments on commit 7ac68d8

Please sign in to comment.