From 29d66cb0a7a43f6a72c34fafef79ca6dea7482e5 Mon Sep 17 00:00:00 2001
From: "pre-commit-ci[bot]"
<66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Tue, 28 Feb 2023 03:57:43 +0000
Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---
src/articles/templates/articles/base.html | 8 ++++----
src/articles/templates/articles/snippets/analytics.html | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/articles/templates/articles/base.html b/src/articles/templates/articles/base.html
index 37075ce..c9572b9 100644
--- a/src/articles/templates/articles/base.html
+++ b/src/articles/templates/articles/base.html
@@ -56,13 +56,13 @@
free software.
Articles are released into the public domain through the
+ rel="noopener" target="_blank"
+ href="{{ blog.licenses.content.url }}">
{{ blog.licenses.content.name }}.
Code blocks are released into the public domain through
+ rel="noopener" target="_blank"
+ href="{{ blog.licenses.code.url }}">
{{ blog.licenses.code.name }}.
I do appreciate being mentioned as the original author if you decide
to reuse my works but the licenses don't enforce it.
diff --git a/src/articles/templates/articles/snippets/analytics.html b/src/articles/templates/articles/snippets/analytics.html
index a7de6d3..179b18a 100644
--- a/src/articles/templates/articles/snippets/analytics.html
+++ b/src/articles/templates/articles/snippets/analytics.html
@@ -2,9 +2,9 @@
{% if not user.is_authenticated and goatcounter_domain is not None %}
+ data-goatcounter="https://{{ goatcounter_domain }}/count">
{% endif %}