Skip to content

Commit

Permalink
📈 umami
Browse files Browse the repository at this point in the history
  • Loading branch information
juftin committed Apr 10, 2024
1 parent af16d47 commit 88ac9f7
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ fail_fast: false

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -14,15 +14,15 @@ repos:
- id: mixed-line-ending

- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.8.0
rev: v2.13.0
hooks:
- id: pretty-format-toml
args: [--autofix]
- id: pretty-format-yaml
args: [--autofix, --indent, '4']

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.0-alpha.9-for-vscode
rev: v3.1.0
hooks:
- id: prettier
args: [--print-width=88, --tab-width=4]
Expand Down
6 changes: 6 additions & 0 deletions docs/overrides/partials/integrations/analytics/custom.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<script
async
defer
data-website-id="{{ config.extra.analytics.umami_site_id }}"
src="{{ config.extra.analytics.umami_script }}"
></script>
5 changes: 5 additions & 0 deletions mkdocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ theme:
favicon: https://juftin.com/favicon.ico
logo: https://raw.githubusercontent.com/juftin/juftin/main/static/juftin.png
name: material
custom_dir: docs/overrides
features:
- navigation.tracking
- content.code.annotate
Expand All @@ -39,6 +40,10 @@ remote_branch: gh-pages
#copyright: Copyright © 2023 Justin Flannery
extra:
generator: false
analytics:
provider: custom
umami_site_id: 17e6e641-5d7c-496a-abb0-9e4cc9eb0700
umami_script: https://umami.juftin.dev/script.js
markdown_extensions:
- toc:
permalink: '#'
Expand Down

0 comments on commit 88ac9f7

Please sign in to comment.