From f0566ef5a8756dbe363470e103ee9b79703f8e12 Mon Sep 17 00:00:00 2001 From: mose Date: Mon, 28 Aug 2017 02:12:25 +0800 Subject: [PATCH] cleanup --- _config.yml | 2 +- _devconfig.yml | 2 +- _layouts/post.html | 3 +++ {_posts => _oldposts}/2013-01-01-example-content.md | 0 {_posts => _oldposts}/2013-12-31-whats-jekyll.md | 0 public/css/addon.css | 9 +++++++++ 6 files changed, 14 insertions(+), 2 deletions(-) rename {_posts => _oldposts}/2013-01-01-example-content.md (100%) rename {_posts => _oldposts}/2013-12-31-whats-jekyll.md (100%) diff --git a/_config.yml b/_config.yml index e47e122..1003a91 100644 --- a/_config.yml +++ b/_config.yml @@ -77,7 +77,7 @@ links: #twitter_widget_id: xyz123abc # Add disqus username for Disqus comment board: -disqus_shortname: foo +# disqus_shortname: foo # Analytics and webmaster tools stuff goes here #google_analytics: xyz123abc diff --git a/_devconfig.yml b/_devconfig.yml index 66c78ef..6c4d3f5 100644 --- a/_devconfig.yml +++ b/_devconfig.yml @@ -77,7 +77,7 @@ links: #twitter_widget_id: xyz123abc # Add disqus username for Disqus comment board: -disqus_shortname: foo +# disqus_shortname: foo # Analytics and webmaster tools stuff goes here #google_analytics: xyz123abc diff --git a/_layouts/post.html b/_layouts/post.html index 8d50f43..88b0bf1 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -10,6 +10,9 @@ layout: default {% unless page.show_meta == false %} {% include meta_info.html %} {% endunless %} + {% if page.authors %} +
{{ page.authors }}
+ {% endif %} {{ content }} diff --git a/_posts/2013-01-01-example-content.md b/_oldposts/2013-01-01-example-content.md similarity index 100% rename from _posts/2013-01-01-example-content.md rename to _oldposts/2013-01-01-example-content.md diff --git a/_posts/2013-12-31-whats-jekyll.md b/_oldposts/2013-12-31-whats-jekyll.md similarity index 100% rename from _posts/2013-12-31-whats-jekyll.md rename to _oldposts/2013-12-31-whats-jekyll.md diff --git a/public/css/addon.css b/public/css/addon.css index d7ea644..eaf178e 100644 --- a/public/css/addon.css +++ b/public/css/addon.css @@ -25,3 +25,12 @@ .text-footer span a { padding: 0 10px; } + +.authors { + font-size: .9em; + color: #90a959; + font-weight: bold; + font-style: italic; + margin-bottom: 30px; + margin-top: -.5rem; +}