From ed796f3cac195b82d51987e1e33da35038f80c31 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Sun, 18 Dec 2022 02:37:42 -0800 Subject: [PATCH] Add _path suffix to paige.bootstrap params --- README.md | 6 +++--- layouts/partials/paige-link.html | 4 ++-- layouts/partials/paige-script.html | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 4196d367..673fb221 100644 --- a/README.md +++ b/README.md @@ -185,9 +185,9 @@ paige: 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 + icons_path: "/my-assets/my-bootstrap-icons.css" # Use local Bootstrap icons + scripts_path: "/my-assets/my-bootstrap.bundle.min.js" # Use local Bootstrap scripts + styles_path: "/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 2934e090..1d99f45f 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_path }} {{ else }} {{ end }} -{{ with .Site.Params.paige.bootstrap.icons }} +{{ with .Site.Params.paige.bootstrap.icons_path }} {{ else }} diff --git a/layouts/partials/paige-script.html b/layouts/partials/paige-script.html index 599d2935..bec47a4f 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_path }} {{ else }}