Rename paigebootstrapjs to paigebootstrapscripts
This commit is contained in:
@@ -174,7 +174,7 @@ Optional site parameters:
|
||||
math: true # Enable math typesetting with KaTeX
|
||||
paigebootstrapstyles: "/my-assets/my-styles.css" # Use local Bootstrap styles
|
||||
paigebootstrapicons: "/my-assets/my-icons.css" # Use local Bootstrap icons
|
||||
paigebootstrapjs: "/my-assets/my-scripts.js" # Use local Bootstrap scripts
|
||||
paigebootstrapscripts: "/my-assets/my-scripts.js" # Use local Bootstrap scripts
|
||||
paigedateformat: "2006 January 2" # Format for page dates
|
||||
paigehidethemecomment: true # Don't put a link to the project in a code comment
|
||||
paigehidethemelink: true # Don't put a link to the project in the footer
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{{ with .Site.Params.paigebootstrapjs }}
|
||||
{{ with .Site.Params.paigebootstrapscripts }}
|
||||
<script defer src="{{ relURL . }}"></script>
|
||||
{{ else }}
|
||||
<script crossorigin="anonymous" defer integrity="sha384-OERcA2EqjJCMA+/3y+gxIOqMEjwtxJY7qPCqsdltbNJuaOe923+mo//f6V8Qbsw3" referrerpolicy="no-referrer" src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.min.js"></script>
|
||||
|
Reference in New Issue
Block a user