From f474fc158a1ee7cd4b1e51da48cddc1a4436712e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ask=20Bj=C3=B8rn=20Hansen?= Date: Fri, 3 Feb 2023 19:17:47 -0800 Subject: [PATCH] whitespace cleanup --- layouts/_default/terms.html | 4 +++- layouts/index.html | 4 +--- static/css/main.css | 16 ++++++++-------- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html index 6083bee..2d1ed8d 100644 --- a/layouts/_default/terms.html +++ b/layouts/_default/terms.html @@ -8,7 +8,9 @@

{{ .Title }}

- {{ with .Content }}{{ . }}{{ end }} + {{- with .Content }} + {{ . }} + {{ end -}} {{ $biggest := 1 }} {{ $smallest := 1 }} diff --git a/layouts/index.html b/layouts/index.html index de10b30..b8bf4bc 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -6,8 +6,6 @@
{{ partial "head.html" . }} - {{ with .Content }}{{ . }}{{ end }} -
{{ with .Content }}{{ . }}{{ end }}
@@ -42,4 +40,4 @@ {{ partial "footer.html" . }} - \ No newline at end of file + diff --git a/static/css/main.css b/static/css/main.css index 31730f8..08ea2ec 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -205,7 +205,7 @@ ul { pre code { display: inline-block; } - + .wrapper { max-width: 760px; @@ -403,26 +403,26 @@ table td { @media (max-width: 767px) { body { - padding: 20px; + padding: 20px; } h1 { - font-size: 1.8rem; + font-size: 1.8rem; } h2 { - font-size: 1.6rem; + font-size: 1.6rem; } h3 { - font-size: 1.2rem; + font-size: 1.2rem; } h4 { - font-size: 1rem; + font-size: 1rem; } .container { - margin-top: 10px; + margin-top: 10px; } -} \ No newline at end of file +}