diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 2971b94..8ac62d1 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -41,11 +41,11 @@ repos:
- id: black
args: [--target-version, py311]
- repo: https://github.com/rtts/djhtml
- rev: v2.0.0
+ rev: 3.0.2
hooks:
- id: djhtml
- repo: https://github.com/charliermarsh/ruff-pre-commit
- rev: 'v0.0.249'
+ rev: 'v0.0.253'
hooks:
- id: ruff
args: [--fix]
@@ -55,7 +55,7 @@ repos:
- id: prettier
types_or: [javascript, css]
- repo: https://github.com/pre-commit/mirrors-eslint
- rev: v8.34.0
+ rev: v8.35.0
hooks:
- id: eslint
args: [--fix]
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 %}