Add Bootstrap and Bootstrap Icons files
This commit is contained in:
@@ -13,19 +13,16 @@
|
||||
<link color="{{ $page.Param `paige.color` | default `#0d6efd` }}" href="{{ relLangURL `safari-pinned-tab.svg` | safeURL }}" rel="mask-icon">
|
||||
<link href="{{ relLangURL `site.webmanifest` | safeURL }}" rel="manifest">
|
||||
|
||||
{{ partial "paige/link.html" (dict
|
||||
"href" ($page.Param "paige.bootstrap.icons.link_href" | default "https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.3/font/bootstrap-icons.css")
|
||||
"integrity" ($page.Param "paige.bootstrap.icons.link_integrity" | default "sha384-b6lVK+yci+bfDmaY1u0zE8YYJt0TZxLEAFyYSLHId4xoVvsrQu3INevFKo+Xir8e")
|
||||
"raw" true
|
||||
) }}
|
||||
{{ partial "paige/link.html" (dict
|
||||
"href" ($page.Param "paige.bootstrap.style.link_href" | default "https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css")
|
||||
"integrity" ($page.Param "paige.bootstrap.style.link_integrity" | default "sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD")
|
||||
"raw" ($page.Param "paige.bootstrap.style.raw")
|
||||
) }}
|
||||
{{ partial "paige/link.html" (dict "href" "paige/bootstrap-icons/bootstrap-icons.css") }}
|
||||
|
||||
{{ if $page.Param "paige.color" }}
|
||||
{{ partial "paige/link.html" (dict "href" "paige/bootstrap/custom.scss" "page" $page "sass" true) }}
|
||||
{{ else }}
|
||||
{{ partial "paige/link.html" (dict "href" "paige/bootstrap/bootstrap.css") }}
|
||||
{{ end }}
|
||||
|
||||
{{ if or ($page.Param "paige.math") (and ($page.Param "paige.list.content.show") (where $page.Pages "Params.paige.math" "eq" true)) }}
|
||||
{{ partial "paige/link.html" (dict "href" "paige/katex/katex.min.css") }}
|
||||
{{ partial "paige/link.html" (dict "href" "paige/katex/katex.css") }}
|
||||
{{ end }}
|
||||
|
||||
{{ if .AlternativeOutputFormats }}
|
||||
|
Reference in New Issue
Block a user