docs: index hooks / ref #3978 (#4077)

pull/4072/head
b_b 2020-06-03 11:55:44 +02:00 committed by GitHub
parent df1629c7b9
commit 66a56234fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -93,7 +93,10 @@ Available blocks in `pad.html` are:
`index.html` blocks: `index.html` blocks:
* `indexCustomStyles` - contains the `index.css` `<link>` tag, allows you to add your own or to customize the one provided by the active skin
* `indexWrapper` - contains the form for creating new pads * `indexWrapper` - contains the form for creating new pads
* `indexCustomScripts` - contains the `index.js` `<script>` tag, allows you to add your own or to customize the one provided by the active skin
* `indexCustomInlineScripts` - contains the inline `<script>` of home page, allows you to customize `go2Name()`, `go2Random()` or `randomPadName()` functions
## padInitToolbar ## padInitToolbar
Called from: src/node/hooks/express/specialpages.js Called from: src/node/hooks/express/specialpages.js