From 16dc565bf0612546ebb0b6e606d4bcfe2219e240 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 18 Apr 2018 02:10:57 +0400 Subject: Page title --- _includes/head.html | 85 ++++++++++++++++++++++------------------------------- 1 file changed, 35 insertions(+), 50 deletions(-) diff --git a/_includes/head.html b/_includes/head.html index 373649a..a301dd4 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -1,52 +1,37 @@ - -{% if page.title %} - {% capture title %} - {{ page.title }} · {{ site.title }} - {% endcapture %} -{% else %} - {% assign title = site.title %} -{% endif %} - - -{% if page.description %} - {% assign description = page.description %} -{% else %} - {% assign description = site.description %} -{% endif %} - - - - - - - - - - - - - - - - - {{ title | strip_newlines | strip_html | strip | normalize_whitespace | smartify }} - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + {% if page.title %}{{ page.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify }} ·{% endif %} + {{ site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify }} + + + + + + + + + + + + + + + + + -- cgit v1.2.3