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 035dacd commit ece766a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
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 @@ -14,6 +14,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 @@ -38,6 +39,10 @@ site_author: juftin
remote_branch: gh-pages
extra:
generator: false
analytics:
provider: custom
umami_site_id: 17e6e641-5d7c-496a-abb0-9e4cc9eb0700
umami_script: https://umami.juftin.dev/script.js
exclude_docs: |
gen_pages.py
markdown_extensions:
Expand Down

0 comments on commit ece766a

Please sign in to comment.