summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJack Morgan <jackmorgannz@gmail.com>2021-09-27 20:36:02 +1300
committerGitHub <noreply@github.com>2021-09-27 09:36:02 +0200
commit9d4916fcc24b169d693540c8f68468f621cb5e5c (patch)
treec6c0cf2c2de495648a8a0ebd5451c3690b38b03b /README.md
parentf2fb37b1adb00addb533f40fa2bb0dcd7118b7d3 (diff)
Allow site title to be customised via parital (#384)
* Allow site title to be customised via parital * Modify readme to highlight available partials * Rename template for consistency * Move title tags to head partial
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/README.md b/README.md
index 459988c..c58dea6 100644
--- a/README.md
+++ b/README.md
@@ -188,7 +188,7 @@ disableKinds = ['taxonomy', 'taxonomyTerm']
# Set source repository location.
# Used for 'Last Modified' and 'Edit this page' links.
BookRepo = 'https://github.com/alex-shpak/hugo-book'
-
+
# Specifies commit portion of the link to the page's last modified commit hash for 'doc' page
# type.
# Required if 'BookRepo' param is set.
@@ -264,9 +264,11 @@ bookSearchExclude = true
### Partials
-There are few empty partials you can override in `layouts/partials/`
+There are layout partials available for you to easily override components of the theme in `layouts/partials/`.
+
+In addition to this, there are several empty partials you can override to easily add/inject code.
-| Partial | Placement |
+| Empty Partial | Placement |
| -------------------------------------------------- | ------------------------------------------- |
| `layouts/partials/docs/inject/head.html` | Before closing `<head>` tag |
| `layouts/partials/docs/inject/body.html` | Before closing `<body>` tag |