Skip to content

Commit 5dbc925

Browse files
Add Customizations/Hooks subsection (#492)
1 parent 3f54a1a commit 5dbc925

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ Please use the following guidelines if you want to start a discussion:
8080
- [Disabled Javascript Support](#disabled-javascript-support)
8181
- [Raw HTML](#raw-html)
8282
- [Customizations](#customizations)
83+
- [Hooks](#hooks)
8384
- [Favicons](#favicons)
8485
- [404 Page](#404-page)
8586
- [Custom Post Types](#custom-post-types)
@@ -769,16 +770,18 @@ unsafe = true
769770
### Hooks
770771

771772
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.
773+
hook partials: [hooks/head-end.html](https://github.com/Lednerb/bilberry-hugo-theme/blob/master/layouts/partials/hooks/head-end.html),
774+
[hooks/body-start.html](https://github.com/Lednerb/bilberry-hugo-theme/blob/master/layouts/partials/hooks/body-start.html),
775+
and [hooks/body-end.html](https://github.com/Lednerb/bilberry-hugo-theme/blob/master/layouts/partials/hooks/body-end.html).
776+
Copy the file in question into your site root's `layouts/partials/hooks` folder and add the necessary code, for
777+
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)
778+
file that contains integration with Umami web analytics.
775779

776780
```html
777781
<script async defer src="https://analytics.umami.is/script.js"
778782
data-website-id="29b02d61-3df1-433f-8bb7-cba0ec70c9f7"></script>
779783
```
780784

781-
782785
### Favicons
783786

784787
To add favicons, proceed with the following steps:

0 commit comments

Comments
 (0)