diff --git a/docs/content/_index.md b/docs/content/_index.md index 0976b40dba..5108bcb55f 100644 --- a/docs/content/_index.md +++ b/docs/content/_index.md @@ -35,7 +35,7 @@ composer require twbs/bootstrap-icons Include the icon fonts stylesheet—in your website `` or via `@import` in CSS—from jsDelivr and get started in seconds. [See icon font docs](#icon-font) for examples. {{< highlight html >}} - + {{< /highlight >}} {{< highlight css >}} diff --git a/docs/layouts/partials/favicons.html b/docs/layouts/partials/favicons.html index 520b61a127..58fd96db51 100644 --- a/docs/layouts/partials/favicons.html +++ b/docs/layouts/partials/favicons.html @@ -1,4 +1,3 @@ -{{ "" | safeHTML }} diff --git a/docs/layouts/partials/footer.html b/docs/layouts/partials/footer.html index e340df5b1f..3abadb32fd 100644 --- a/docs/layouts/partials/footer.html +++ b/docs/layouts/partials/footer.html @@ -2,13 +2,14 @@
- + {{ partial "icons/bootstrap-white-fill.svg" (dict "class" "d-block me-2" "width" "40" "height" "32") }} Bootstrap
@@ -20,7 +21,7 @@
Links
  • Icons
  • Themes
  • Blog
  • -
  • Swag Store
  • +
  • Swag Store
  • diff --git a/docs/layouts/partials/navbar.html b/docs/layouts/partials/navbar.html index 7b7a152567..fbfd2d3c95 100644 --- a/docs/layouts/partials/navbar.html +++ b/docs/layouts/partials/navbar.html @@ -10,7 +10,7 @@ -
    +
    Bootstrap
    @@ -64,6 +64,7 @@
    Bootstrap
  • -
    diff --git a/docs/layouts/partials/social.html b/docs/layouts/partials/social.html index 8e734dabd9..e1bb75a111 100644 --- a/docs/layouts/partials/social.html +++ b/docs/layouts/partials/social.html @@ -1,17 +1,21 @@ -{{ "" | safeHTML }} +{{- $pageTitle := .Title | default .Site.Title | markdownify -}} +{{- $pageDescription := .Page.Params.description | default .Site.Params.description | markdownify -}} +{{- $socialImagePath := .Site.Params.social_image_path -}} + - - - + + + -{{ "" | safeHTML }} - - + + - + - - +{{ with (imageConfig (path.Join "docs/static" $socialImagePath)) -}} + + +{{- end }} diff --git a/docs/layouts/partials/stylesheet.html b/docs/layouts/partials/stylesheet.html index 2502e1b5e1..d9b3233192 100644 --- a/docs/layouts/partials/stylesheet.html +++ b/docs/layouts/partials/stylesheet.html @@ -1,4 +1,4 @@ - + {{- $sassOptions := dict "targetPath" "assets/css/docs.css" "precision" 6 -}} {{- $postcssOptions := dict "use" "autoprefixer" "noMap" true -}} @@ -9,4 +9,4 @@ {{- $style := resources.Get "scss/docs.scss" | toCSS $sassOptions | postCSS $postcssOptions -}} - +