From bdf534df597949a4f165afb732dc44e94a32884a Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 11 Nov 2020 18:18:47 +0200 Subject: [PATCH] masthead: add newlines in the snippets and reindent (#32129) * Update masthead-followup.html * Update single.html --- site/layouts/_default/single.html | 4 ++-- site/layouts/partials/home/masthead-followup.html | 14 ++++++++------ 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/site/layouts/_default/single.html b/site/layouts/_default/single.html index 6582e57b37..2afde6ec1a 100644 --- a/site/layouts/_default/single.html +++ b/site/layouts/_default/single.html @@ -41,8 +41,8 @@ Bootstrap Themes + src="/docs/{{ .Site.Params.docs_version }}/assets/img/bootstrap-themes-collage.png" + alt="Bootstrap Themes" width="1150" height="320" loading="lazy"> {{ end }} diff --git a/site/layouts/partials/home/masthead-followup.html b/site/layouts/partials/home/masthead-followup.html index cacc170eff..2f767aa34f 100644 --- a/site/layouts/partials/home/masthead-followup.html +++ b/site/layouts/partials/home/masthead-followup.html @@ -33,9 +33,11 @@
{{ highlight (printf (` -`) .Site.Params.cdn.css (.Site.Params.cdn.css_hash | safeHTMLAttr)) "html" "" }} + +`) .Site.Params.cdn.css (.Site.Params.cdn.css_hash | safeHTMLAttr)) "html" "" }} {{ highlight (printf (` -`) .Site.Params.cdn.js_bundle (.Site.Params.cdn.js_bundle_hash | safeHTMLAttr)) "html" "" }} + +`) .Site.Params.cdn.js_bundle (.Site.Params.cdn.js_bundle_hash | safeHTMLAttr)) "html" "" }}
@@ -56,8 +58,8 @@
Bootstrap Icons + src="/docs/{{ .Site.Params.docs_version }}/assets/img/bootstrap-icons.png" + alt="Bootstrap Icons" width="700" height="425" loading="lazy">
@@ -78,8 +80,8 @@
Bootstrap Icons + src="/docs/{{ .Site.Params.docs_version }}/assets/img/bootstrap-themes.png" + alt="Bootstrap Icons" width="700" height="500" loading="lazy">