From fad6821207035cba36d45d6ba4e6ec49d5bef4c8 Mon Sep 17 00:00:00 2001 From: Olivier Fredon Date: Sun, 16 Oct 2016 13:10:22 +0200 Subject: Font stack and vertical rhythm --- archetypes/default.md | 1 - layouts/_default/list.html | 9 ++++--- layouts/_default/single.html | 8 +++--- layouts/index.html | 6 +++-- layouts/partials/footer.html | 1 - layouts/partials/header.html | 11 ++++----- layouts/partials/post-list.html | 2 +- layouts/partials/post-meta.html | 14 +++++------ static/css/style.css | 50 ++++++++++++++++++++++++++++++++------ static/sass/_settings.scss | 4 +-- static/sass/custom/layout.scss | 9 +++---- static/sass/custom/typography.scss | 22 ++++++++++++++++- 12 files changed, 96 insertions(+), 41 deletions(-) diff --git a/archetypes/default.md b/archetypes/default.md index cb848c4..e111a46 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -1,6 +1,5 @@ +++ title = "" description = "" -date = "02-01-2006" tags = ["x", "y"] +++ diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 4972bf9..b746f4e 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -2,9 +2,12 @@
- {{ partial "header" . }} - {{ partial "navigation" . }} -
+
+ {{ partial "header" . }} + {{ partial "navigation" . }} +
+
+

{{ .Title }}

{{ partial "post-list" . }} {{ partial "pagination" . }}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 38ba5fa..3406891 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -2,12 +2,14 @@
- {{ partial "header" . }} - {{ partial "navigation" . }} +
+ {{ partial "header" . }} + {{ partial "navigation" . }} +
-

{{ .Title }}

+

{{ .Title }}

{{ .Content }} diff --git a/layouts/index.html b/layouts/index.html index ac7229f..0b0f582 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -2,8 +2,10 @@
- {{ partial "header" . }} - {{ partial "navigation" . }} +
+ {{ partial "header" . }} + {{ partial "navigation" . }} +
{{ partial "post-list" . }} {{ partial "pagination" . }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 332d433..d11df24 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,5 +1,4 @@