Add Subresource Integrity (SRI) support (#164)
This commit is contained in:
parent
09e037d535
commit
d1da39b34b
5 changed files with 20 additions and 6 deletions
|
@ -143,9 +143,9 @@ social-share | If you don't want to show buttons to share a blog post on social
|
|||
use-site-title | If you want to use the site title rather than page title as HTML document title (ie. browser tab title), use `use-site-title: true`. When set, the document title will take the format `Site Title - Site Description` (eg. `My website - A virtual proof that name is awesome!`). By default, it will use `Page Title` if it exists, or `Site Title` otherwise.
|
||||
layout | What type of page this is (default is `blog` for blog posts and `page` for other pages. You can use `minimal` if you don't want a header and footer)
|
||||
js | List of local JavaScript files to include in the page (eg. `/js/mypage.js`)
|
||||
ext-js | List of external JavaScript files to include in the page (eg. `//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.2/underscore-min.js`)
|
||||
ext-js | List of external JavaScript files to include in the page (eg. `//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.2/underscore-min.js`). External JavaScript files that support [Subresource Integrity (SRI)](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity) can be specified using the `href` and `sri` parameters eg.<br/>`href: "//code.jquery.com/jquery-3.1.1.min.js"`<br/>`sri: "sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8="`
|
||||
css | List of local CSS files to include in the page
|
||||
ex-css | List of external CSS files to include in the page
|
||||
ext-css | List of external CSS files to include in the page. External CSS files using SRI (see `ext-js` parameter) are also supported.
|
||||
googlefonts | List of Google fonts to include in the page (eg. `["Monoton", "Lobster"]`)
|
||||
|
||||
### Advanced features (including how to use a custom URL address for your site)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue