Skip to content

Commit

Permalink
Merge pull request #292 from statikbe/291-add-noindex-when-url-contai…
Browse files Browse the repository at this point in the history
…ns-statikbe

Don’t index on statik.be domains
  • Loading branch information
KarelJanVanHaute authored Mar 7, 2024
2 parents c1b15ea + 72f89ca commit 2b8f858
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion templates/_site/_layout.twig
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@
{{ craft.vite.inline("@webroot/favicon/site/webapp.html") }}

{% hook 'seo-fields' %}

{% if 'statik.be' in baseUrl %}
<meta name="robots" content="noindex">
{% endif %}

{% block head_scripts %}
<link rel="preconnect" href="//www.googletagmanager.com">
{# <link rel="preconnect" href="//fonts.gstatic.com"> #}
Expand Down

0 comments on commit 2b8f858

Please sign in to comment.