From d824fd879e8190a796ea21306cd3e8b7525189ad Mon Sep 17 00:00:00 2001 From: Barry Clark Date: Sun, 1 Mar 2015 14:35:17 -0500 Subject: [PATCH] Improve metadata for posts and pages (closes #50) --- _includes/meta.html | 18 ++++++++++++++++++ _layouts/default.html | 7 +------ 2 files changed, 19 insertions(+), 6 deletions(-) create mode 100644 _includes/meta.html diff --git a/_includes/meta.html b/_includes/meta.html new file mode 100644 index 0000000..b8f4a33 --- /dev/null +++ b/_includes/meta.html @@ -0,0 +1,18 @@ + + + + + + {% if page.excerpt %} + + + {% else %} + + + {% endif %} + + + {% if page.title %} + + + {% endif %} \ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html index f4d3255..b2939c0 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,14 +1,9 @@ - - - - {% if page.title %}{{ page.title }} – {% endif %}{{ site.name }} – {{ site.description }} - - + {% include meta.html %}