From 24aa1e362b6115c8a25f1d857051795a2521e2f7 Mon Sep 17 00:00:00 2001 From: basti1dr Date: Sun, 27 Sep 2015 00:54:36 +0200 Subject: [PATCH] feat(meta header): add meta header author to header if exists in config.yml --- _config.yml | 1 + _includes/head.html | 1 + 2 files changed, 2 insertions(+) diff --git a/_config.yml b/_config.yml index 619e469..76fe54c 100644 --- a/_config.yml +++ b/_config.yml @@ -4,6 +4,7 @@ email: your-email@domain.com url: https://example.github.io description: "Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description." skills: "Web Developer - Graphic Artist - User Experience Designer" +meta_author: LastName FirstName # Contact form: comment the line below if you want to stick with the default PHP contact form contact: static diff --git a/_includes/head.html b/_includes/head.html index 5ae73cb..74d4281 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -4,6 +4,7 @@ {% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %} + {% if site.meta_author %}{% endif %}