8000 Further docs editing · tams-lore/tams-lore.github.io@f7d3850 · GitHub
[go: up one dir, main page]

Skip to content

Commit f7d3850

Browse files
authored
Further docs editing
1 parent ad69594 commit f7d3850

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,6 @@ Google Analytics can be enabled via the site configuration too. Add your trackin
128128
Date format can be customised in the `/_config.yml` with the option `date_format` (please refer to Liquid date filters documentation for learning about formatting possibilities):
129129
`date_format: "%-d %B %Y" # NOTE: only placeholder formatting is supported (do not try to use ordinal dates introduced in Jekyll 3.8)`
130130

131-
Additional customizations can be included in header or body using `site-before-start.html` or `site-before-end.html` files. `site-before-start.html` is included just before the closing `</head>` tag and `site-before-end.html` is included just before the closing `</body>` tag.
132-
133131
### Site performance settings
134132

135133
Alembic comes with a couple of options to enhance the speed and overall performance of the site you build upon it.
@@ -246,6 +244,11 @@ Example usage: `{% include site-search.html %}`
246244

247245
This include has no options. This include will add a block of javascript to the page and javascript reference in order for the search field to work correctly.
248246

247+
### `site-before-start.html` & `site-before-end.html`
248+
Optional html includes for adding scripts, css, js or any embed code you wish to add to every page without the need to overwrite the entire `default.html` template.
249+
250+
**Example usage:** These are different to other includes as they are designed to be overwritten. If you create a `site-before-start.html` file in the `_includes/` the contents of the file will be included just before the closing `</head>` tag. If you create a `site-before-end.html` file the contents of the file will be included just before the closing `</body>` tag.
251+
249252
## Page layouts
250253

251254
As well as `page`, `post`, `blog`, there are a few alternative layouts that can be used on pages:

0 commit comments

Comments
 (0)
0