Fix indenting

This commit is contained in:
Michael Rose 2017-11-06 16:01:23 -05:00
parent 50166ce705
commit c050f1322d

View file

@ -1,12 +1,12 @@
{% if page.author and site.data.authors[page.author] %} {% if page.author and site.data.authors[page.author] %}
{% assign author = site.data.authors[page.author] %} {% assign author = site.data.authors[page.author] %}
{% else %} {% else %}
{% assign author = site.author %} {% assign author = site.author %}
{% endif %} {% endif %}
<div itemscope itemtype="http://schema.org/Person"> <div itemscope itemtype="http://schema.org/Person">
{% if author.avatar %} {% if author.avatar %}
<div class="author__avatar"> <div class="author__avatar">
{% if author.avatar contains "://" %} {% if author.avatar contains "://" %}
<img src="{{ author.avatar }}" alt="{{ author.name }}" itemprop="image"> <img src="{{ author.avatar }}" alt="{{ author.name }}" itemprop="image">
@ -14,18 +14,18 @@
<img src="{{ author.avatar | absolute_url }}" class="author__avatar" alt="{{ author.name }}" itemprop="image"> <img src="{{ author.avatar | absolute_url }}" class="author__avatar" alt="{{ author.name }}" itemprop="image">
{% endif %} {% endif %}
</div> </div>
{% endif %} {% endif %}
<div class="author__content"> <div class="author__content">
<h3 class="author__name" itemprop="name">{{ author.name }}</h3> <h3 class="author__name" itemprop="name">{{ author.name }}</h3>
{% if author.bio %} {% if author.bio %}
<p class="author__bio" itemprop="description"> <p class="author__bio" itemprop="description">
{{ author.bio }} {{ author.bio }}
</p> </p>
{% endif %} {% endif %}
</div> </div>
<div class="author__urls-wrapper"> <div class="author__urls-wrapper">
<button class="btn btn--inverse">{{ site.data.ui-text[site.locale].follow_label | remove: ":" | default: "Follow" }}</button> <button class="btn btn--inverse">{{ site.data.ui-text[site.locale].follow_label | remove: ":" | default: "Follow" }}</button>
<ul class="author__urls social-icons"> <ul class="author__urls social-icons">
{% if author.location %} {% if author.location %}
@ -245,5 +245,5 @@
{% include author-profile-custom-links.html %} {% include author-profile-custom-links.html %}
</ul> </ul>
</div> </div>
</div> </div>