From 6bd82c78716062a12dc1e0a1693c28b01d3cdb16 Mon Sep 17 00:00:00 2001 From: Chester How Date: Tue, 21 Mar 2017 17:49:46 +0800 Subject: [PATCH] Add super neat styling to posts --- _config.yml | 2 +- _layouts/default.html | 2 +- _layouts/post.html | 18 +++++++++------ _posts/2017-03-05-empty-post.md | 1 + _posts/2017-03-06-empty-post.md | 1 + _posts/2017-03-07-empty-post.md | 1 + _posts/2017-03-08-welcome-to-jekyll.md | 1 + _posts/2017-03-10-welcome-to-jekyll.md | 1 + _posts/2017-03-16-example-content.md | 1 + _sass/_base.scss | 6 ++++- _sass/_post.scss | 31 ++++++++++++++------------ _sass/_variables.scss | 1 - 12 files changed, 41 insertions(+), 25 deletions(-) diff --git a/_config.yml b/_config.yml index c955a27..7dbf442 100644 --- a/_config.yml +++ b/_config.yml @@ -2,7 +2,7 @@ permalink: pretty # Setup -title: tale +title: Tale subtitle: by Chester paginate: 5 baseurl: "" diff --git a/_layouts/default.html b/_layouts/default.html index cd5fb7d..14d2993 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -8,7 +8,7 @@
-

{{ site.title }}

+

{{ site.title | downcase }}

diff --git a/_layouts/post.html b/_layouts/post.html index 20e3df1..b920d5b 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -2,14 +2,18 @@ layout: default --- -
-
- -

{{ page.title }}

- - {{ content }} - +
+ + +

{{ page.title }}

+
+ + {{ content }} +