diff --git a/README.md b/README.md index 7428dcf9..871e1891 100644 --- a/README.md +++ b/README.md @@ -173,9 +173,6 @@ $ hugo server -D Optional site parameters: ```yaml -paige_bootstrap_icons: "/my-assets/my-bootstrap-icons.css" # Use local Bootstrap icons -paige_bootstrap_scripts: "/my-assets/my-bootstrap.bundle.min.js" # Use local Bootstrap scripts -paige_bootstrap_styles: "/my-assets/my-bootstrap.min.css" # Use local Bootstrap styles paige_date_format: "2006 January 2" # Hugo date format for page dates paige_hide_theme_comment: true # Don't put a link to this project in a code comment paige_hide_theme_link: true # Don't put a link to this project in the footer @@ -191,6 +188,10 @@ paige: account_id: "123456" yandex: # metrica.yandex.com account_id: "123456" + bootstrap: + icons: "/my-assets/my-bootstrap-icons.css" # Use local Bootstrap icons + scripts: "/my-assets/my-bootstrap.bundle.min.js" # Use local Bootstrap scripts + styles: "/my-assets/my-bootstrap.min.css" # Use local Bootstrap styles comments: cactus: # cactus.chat account_id: "123456" diff --git a/layouts/partials/paige-link.html b/layouts/partials/paige-link.html index 6ac53df7..2934e090 100644 --- a/layouts/partials/paige-link.html +++ b/layouts/partials/paige-link.html @@ -1,9 +1,9 @@ -{{ with .Site.Params.paige_bootstrap_styles }} +{{ with .Site.Params.paige.bootstrap.styles }} {{ else }} {{ end }} -{{ with .Site.Params.paige_bootstrap_icons }} +{{ with .Site.Params.paige.bootstrap.icons }} {{ else }} diff --git a/layouts/partials/paige-script.html b/layouts/partials/paige-script.html index 1cc13755..599d2935 100644 --- a/layouts/partials/paige-script.html +++ b/layouts/partials/paige-script.html @@ -1,4 +1,4 @@ -{{ with .Site.Params.paige_bootstrap_scripts }} +{{ with .Site.Params.paige.bootstrap.scripts }} {{ else }}