mirror of
https://github.com/hacks-guide/minimal-mistakes.git
synced 2024-11-27 10:50:30 +00:00
fix google plus integration in bio, now accepts username
This commit is contained in:
parent
e29ea63769
commit
8b65bf0fac
@ -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:
|
||||
|
@ -1,15 +1,10 @@
|
||||
{% if site.owner.avatar contains 'http://' %}
|
||||
<img src="{{ site.owner.avatar }}" class="bio-photo" alt="{{ site.owner.name }} bio photo"></a>
|
||||
{% elsif site.owner.avatar contains 'https://' %}
|
||||
<img src="{{ site.owner.avatar }}" class="bio-photo" alt="{{ site.owner.name }} bio photo"></a>
|
||||
{% else %}
|
||||
<img src="{{ site.url }}/images/{{ site.owner.avatar }}" class="bio-photo" alt="{{ site.owner.name }} bio photo"></a>
|
||||
{% endif %}
|
||||
<img src="{{ site.url }}/images/{{ site.owner.avatar }}" class="bio-photo" alt="{{ site.owner.name }} bio photo"></a>
|
||||
<h3>{{ site.owner.name }}</h3>
|
||||
<p>{{ site.owner.bio }}</p>
|
||||
{% if site.owner.twitter %}<a href="http://twitter.com/{{ site.owner.twitter }}" class="author-social" target="_blank"><i class="icon-twitter"></i> Twitter</a>{% endif %}
|
||||
{% if site.owner.facebook %}<a href="http://facebook.com/{{ site.owner.facebook }}" class="author-social" target="_blank"><i class="icon-facebook"></i> Facebook</a>{% endif %}
|
||||
{% if site.owner.google_plus %}<a href="{{ site.owner.google_plus }}" class="author-social" target="_blank"><i class="icon-google-plus"></i> Google+</a>{% endif %}
|
||||
{% if site.owner.google_plus %}<a href="http://plus.google.com/+{{ site.owner.google_plus }}?
|
||||
rel=author" class="author-social" target="_blank"><i class="icon-google-plus"></i> Google+</a>{% endif %}
|
||||
{% if site.owner.linkedin %}<a href="http://linkedin.com/in/{{ site.owner.linkedin }}" class="author-social" target="_blank"><i class="icon-linkedin"></i> LinkedIn</a>{% endif %}
|
||||
{% if site.owner.instagram %}<a href="http://instagram.com/{{ site.owner.instagram }}" class="author-social" target="_blank"><i class="icon-instagram"></i> Instagram</a>{% endif %}
|
||||
{% if site.owner.tumblr %}<a href="http://{{ site.owner.tumblr }}.tumblr.com" class="author-social" target="_blank"><i class="icon-tumblr"></i> Tumblr</a>{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user