Skip to content

Commit 3f54a1a

Browse files
Add Customizations/Hooks subsection
1 parent dc0d495 commit 3f54a1a

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -766,6 +766,19 @@ unsafe = true
766766

767767
## Customizations
768768

769+
### Hooks
770+
771+
If you need to integrate your website with a third-party service or to customize it further, you can use the following
772+
hook partials: hooks/head-end.html, hooks/body-start.html, and hooks/body-end.html. Copy the file in question into
773+
your site root's `layouts/partials/hooks` folder and add the necessary code, for example, as in this [hooks/body-end.html](https://github.com/igor-baiborodine/bilberry-hugo-theme-sandbox/blob/9c492fad08771295f529b9acdc17aa03865a52ad/layouts/partials/hooks/body-end.html)
774+
file hat contains integration with Umami web analytics.
775+
776+
```html
777+
<script async defer src="https://analytics.umami.is/script.js"
778+
data-website-id="29b02d61-3df1-433f-8bb7-cba0ec70c9f7"></script>
779+
```
780+
781+
769782
### Favicons
770783

771784
To add favicons, proceed with the following steps:

0 commit comments

Comments
 (0)