Skip to content

Commit

Permalink
feat: add layouts/partials/hugomods/umami/index.html partial
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Oct 11, 2024
1 parent 46c10f2 commit 8b17975
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 3 additions & 0 deletions layouts/partials/hugomods/umami/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{{- if default true .Params.analyze }}
{{ partialCached "hugomods/umami/assets/js" . }}
{{- end }}
4 changes: 1 addition & 3 deletions layouts/partials/hugopress/modules/umami/hooks/head-end.html
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
{{- if default true .Page.Params.analyze }}
{{ partialCached "hugomods/umami/assets/js" . }}
{{- end }}
{{ partialCached "hugomods/umami/index" .Page .Page.Params.analyze }}

0 comments on commit 8b17975

Please sign in to comment.