From d862a9f27657ec95a0a49e159236824141f0c9ae Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Tue, 29 Sep 2020 18:24:30 +0300 Subject: [PATCH] Revert #31761 (#31792) Revert "Re-optimize SVG" This reverts commit 331566bc85f7c0009e5a16b84d97f99c12d3a1c1. Revert "Move homepage-hero.svg to an img tag" This reverts commit c24acf8d2cca8e94a4115d7c30a281de23882789. --- site/layouts/partials/home/masthead.html | 2 +- site/layouts/partials/icons/homepage-hero.svg | 1 + site/static/docs/5.0/assets/img/homepage-hero.svg | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 site/layouts/partials/icons/homepage-hero.svg delete mode 100644 site/static/docs/5.0/assets/img/homepage-hero.svg diff --git a/site/layouts/partials/home/masthead.html b/site/layouts/partials/home/masthead.html index 42a0164d75..4ca26104dc 100644 --- a/site/layouts/partials/home/masthead.html +++ b/site/layouts/partials/home/masthead.html @@ -2,7 +2,7 @@
- + {{ partial "icons/homepage-hero.svg" (dict "class" "img-fluid mb-3 mb-md-0" "width" "600" "height" "533") }}

Build fast, responsive sites with Bootstrap

diff --git a/site/layouts/partials/icons/homepage-hero.svg b/site/layouts/partials/icons/homepage-hero.svg new file mode 100644 index 0000000000..538045ad9a --- /dev/null +++ b/site/layouts/partials/icons/homepage-hero.svg @@ -0,0 +1 @@ +{{ with .title }}{{ . }}{{ else }}Bootstrap{{ end }} \ No newline at end of file diff --git a/site/static/docs/5.0/assets/img/homepage-hero.svg b/site/static/docs/5.0/assets/img/homepage-hero.svg deleted file mode 100644 index ddbc4148f8..0000000000 --- a/site/static/docs/5.0/assets/img/homepage-hero.svg +++ /dev/null @@ -1 +0,0 @@ -Bootstrap