From 12dbdea2986ebe2567d596e00284cd85f2ba8baf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20D=C3=A9ramond?= Date: Thu, 7 Jul 2022 09:16:40 +0200 Subject: [PATCH] chore(docs): small improvement to separate h1 and lead paragraph (#1367) * removed unused ads.html --- site/layouts/_default/docs.html | 4 ++-- site/layouts/_default/single.html | 2 +- site/layouts/partials/ads.html | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) delete mode 100644 site/layouts/partials/ads.html diff --git a/site/layouts/_default/docs.html b/site/layouts/_default/docs.html index 224736049e..4891634156 100644 --- a/site/layouts/_default/docs.html +++ b/site/layouts/_default/docs.html @@ -21,8 +21,8 @@
Browse docs

{{ .Title | markdownify }}

-

{{ .Page.Params.Description | markdownify }}

- {{ partial "ads" . }} +

{{ .Page.Params.Description | markdownify }}

+ {{ if (eq .Page.Params.toc true) }} diff --git a/site/layouts/_default/single.html b/site/layouts/_default/single.html index a933ba2f00..6c106063f2 100644 --- a/site/layouts/_default/single.html +++ b/site/layouts/_default/single.html @@ -29,7 +29,7 @@

{{ .Title | markdownify }}

{{ end }} - + diff --git a/site/layouts/partials/ads.html b/site/layouts/partials/ads.html deleted file mode 100644 index 6039bb9d88..0000000000 --- a/site/layouts/partials/ads.html +++ /dev/null @@ -1 +0,0 @@ -