From 69f17c15b50c67e5fd8644b03c0b9ca1e814e8af Mon Sep 17 00:00:00 2001 From: Huy Tran Date: Tue, 26 Jun 2018 10:17:20 +1000 Subject: [PATCH 1/2] Tries out font combo Noto Serif/Source Code Pro --- layouts/partials/header.html | 2 +- static/css/custom.css | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index ad7656f..5c1f6fe 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -14,7 +14,7 @@ {{ "" | safeHTML }} - + diff --git a/static/css/custom.css b/static/css/custom.css index 4f6bd95..815d209 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -1,10 +1,10 @@ html, body { - font-family: 'Fira Sans', sans-serif; + font-family: 'Noto Serif', serif; font-size: 18px; font-weight: 300; - line-height: 1.5; + line-height: 1.66em; } .img-circle @@ -61,8 +61,8 @@ pre code, li code, td code, code } code { - font-family: 'Roboto Mono', monospace; - font-size: 90%; + font-family: 'Source Code Pro', monospace; + font-size: 82%; } .copyright, .poweredby From 92ecccca9a70c14ca9faf3b7e0bf95e54dd7b208 Mon Sep 17 00:00:00 2001 From: Huy Tran Date: Tue, 26 Jun 2018 10:19:35 +1000 Subject: [PATCH 2/2] Adds layout for the About page --- layouts/about/single.html | 10 ++++++++++ layouts/partials/content_about.html | 4 ++++ 2 files changed, 14 insertions(+) create mode 100644 layouts/about/single.html create mode 100644 layouts/partials/content_about.html diff --git a/layouts/about/single.html b/layouts/about/single.html new file mode 100644 index 0000000..674f63e --- /dev/null +++ b/layouts/about/single.html @@ -0,0 +1,10 @@ +{{ define "header" -}} + {{ partial "header.html" . }} +{{- end -}} + +{{ define "content" -}} + {{ partial "content_about.html" . }} +{{- end -}} + +{{ define "footer" -}} +{{- end -}} diff --git a/layouts/partials/content_about.html b/layouts/partials/content_about.html new file mode 100644 index 0000000..1524b86 --- /dev/null +++ b/layouts/partials/content_about.html @@ -0,0 +1,4 @@ +
+

{{ .Title }}

+ {{ .Content }} +
\ No newline at end of file