Skip to content

Commit

Permalink
feat: add hugopress/modules/minimal-google-analytics/hooks/head-end.h…
Browse files Browse the repository at this point in the history
…tml partial
  • Loading branch information
razonyang committed Oct 11, 2024
1 parent 208f197 commit 0820f43
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/minimal-google-analytics/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{{- if default true .Params.analyze }}
{{ partialCached "hugomods/minimal-google-analytics/assets/js" . }}
{{- end }}
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
{{- if default true .Page.Params.analyze }}
{{ partialCached "hugomods/minimal-google-analytics/assets/js" . }}
{{- end }}
{{ partialCached "hugomods/minimal-google-analytics/index" .Page .Page.Params.analyze }}

0 comments on commit 0820f43

Please sign in to comment.