From 86b52abe042679b9ec19a3e1bbe5935194e195eb Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 14 Mar 2021 23:51:11 -0700 Subject: [PATCH] Update layout to improve things a bit --- site/layouts/_default/single.html | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/site/layouts/_default/single.html b/site/layouts/_default/single.html index 33e4f406e936..33f1b9f29a94 100644 --- a/site/layouts/_default/single.html +++ b/site/layouts/_default/single.html @@ -1,15 +1,21 @@ {{ define "main" }}
-

{{ .Title | markdownify }}

-

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

- {{ if eq .Title "Examples" }} -
- Download examples - Download source code +
+
+

{{ .Title | markdownify }}

+

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

+ {{ if eq .Title "Examples" }} + + {{ end }} +
+
+ {{ partial "ads" . }} +
- {{ end }} - {{ partial "ads" . }}