From 8b65bf0fac8af4bb4336f0ec053de87edcfe2495 Mon Sep 17 00:00:00 2001 From: Maximilian Held Date: Mon, 10 Mar 2014 19:29:27 +0100 Subject: [PATCH] fix google plus integration in bio, now accepts username --- _config.yml | 2 +- _includes/_author-bio.html | 11 +++-------- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/_config.yml b/_config.yml index 59ea318..f7651bf 100644 --- a/_config.yml +++ b/_config.yml @@ -1,7 +1,7 @@ title: Site Title description: Describe your website. # Your site's domain goes here. Leave localhost server or blank when working locally. -url: http://localhost:4000 +url: #http://localhost:4000 # Owner/author information owner: diff --git a/_includes/_author-bio.html b/_includes/_author-bio.html index 0a6628f..ffbb8c9 100644 --- a/_includes/_author-bio.html +++ b/_includes/_author-bio.html @@ -1,15 +1,10 @@ -{% if site.owner.avatar contains 'http://' %} - {{ site.owner.name }} bio photo -{% elsif site.owner.avatar contains 'https://' %} - {{ site.owner.name }} bio photo -{% else %} - {{ site.owner.name }} bio photo -{% endif %} +{{ site.owner.name }} bio photo

{{ site.owner.name }}

{{ site.owner.bio }}

{% if site.owner.twitter %} Twitter{% endif %} {% if site.owner.facebook %} Facebook{% endif %} -{% if site.owner.google_plus %} Google+{% endif %} +{% if site.owner.google_plus %} Google+{% endif %} {% if site.owner.linkedin %} LinkedIn{% endif %} {% if site.owner.instagram %} Instagram{% endif %} {% if site.owner.tumblr %} Tumblr{% endif %} -- 2.45.2