feat(page): add custom page library support (css and js) (#357)

This commit is contained in:
Dillon
2020-05-13 22:12:51 +08:00
committed by GitHub
parent 861350be32
commit 486d859cc8
8 changed files with 93 additions and 0 deletions

View File

@@ -551,6 +551,18 @@ Please open the code block below to view the complete sample configuration :(far
label = ""
lightTheme = "github-light"
darkTheme = "github-dark"
# {{< version 0.2.7 >}} Third-party library config
[params.page.library]
[params.page.library.css]
# someCSS = "some.css"
# located in "assets/"
# Or
# someCSS = "https://cdn.example.com/some.css"
[params.page.library.js]
# someJavascript = "some.js"
# located in "assets/"
# Or
# someJavascript = "https://cdn.example.com/some.js"
# {{< version 0.2.0 >}} SEO config
[params.page.seo]
# Publisher info