Re-add Plausible Analytics

This commit is contained in:
Oliver Davies 2024-03-08 17:30:35 +00:00
parent 982642784e
commit cdad7fc6d6
3 changed files with 13 additions and 1 deletions

View file

@ -311,6 +311,9 @@ testimonials:
title: Digital Strategy Consultant
tags: [subscription]
plausible:
domain: ~
prose_classes: |
prose prose-p:text-black prose-a:font-light prose-a:text-blue-primary prose-p:text-lg prose-blockquote:border-blue-primary dark:marker:text-white prose-li:my-1 prose-li:text-lg prose-figcaption:text-white prose-li:text-black marker:text-black dark:prose-p:text-white dark:prose-invert dark:prose-a:text-blue-400 dark:prose-blockquote:border-blue-400 dark:prose-li:text-white hover:prose-a:no-underline prose-h2:text-xl prose-code:font-normal prose-h2:mb-4 prose-ul:my-3 dark:prose-hr:border-grey-400 prose-code:before:content-[''] prose-code:after:content-['']">

View file

@ -1,5 +1,10 @@
imports:
- sculpin_site.yml
url: https://www.oliverdavies.uk
assets:
url: https://oliverdavies-uk.s3.eu-west-2.amazonaws.com
plausible:
domain: oliverdavies.uk
url: https://www.oliverdavies.uk

View file

@ -43,6 +43,10 @@
<body>
{% block body %}{% endblock %}
{% if site.plausible.domain %}
<script defer data-domain="{{ site.plausible.domain }}" src="https://plausible.io/js/script.js"></script>
{% endif %}
{% block scripts %}{% endblock %}
</body>
</html>