Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentporte committed Jun 22, 2023
1 parent 6c484dd commit 8bb37c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 2 additions & 0 deletions lacommunaute/templates/layouts/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="theme-color" content="#ffffff">

<meta name="htmx-config" content='{"inlineScriptNonce":"{{ request.csp_nonce }}"}'>

<!-- https://metatags.io Open Graph -->
<meta property="og:locale" content="fr_FR" />
<meta property="og:type" content="website" />
Expand Down
4 changes: 0 additions & 4 deletions lacommunaute/templates/pages/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,6 @@ <h2 class="h1 mb-3 mb-lg-5">Améliorez votre pratique professionnelle :</h2>

{% block extra_js %}
{{ block.super }}
<script nonce="{{ request.csp_nonce }}">
htmx.config.inlineScriptNonce = "{{ request.csp_nonce }}";
</script>

<script async src="https://tally.so/widgets/embed.js" nonce="{{ request.csp_nonce }}"></script>
<script defer nonce="{{ request.csp_nonce }}">
// Any given Tally popup will not be shown more than once every `minDaysBetweenDisplays` days.
Expand Down

0 comments on commit 8bb37c8

Please sign in to comment.