From 3a3f224470ac68420ebf9f27c746698dc2a21cc9 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:30 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/rtts/djhtml: v2.0.0 → 3.0.2](https://github.com/rtts/djhtml/compare/v2.0.0...3.0.2) - [github.com/charliermarsh/ruff-pre-commit: v0.0.249 → v0.0.253](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.249...v0.0.253) - [github.com/pre-commit/mirrors-eslint: v8.34.0 → v8.35.0](https://github.com/pre-commit/mirrors-eslint/compare/v8.34.0...v8.35.0) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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] 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 2/2] [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 %}