_includes/footer.html in jekyll-readthedocs-0.2.4 vs _includes/footer.html in jekyll-readthedocs-0.3.0
- old
+ new
@@ -7,27 +7,27 @@
<div class="footer-col-wrapper">
<div class="footer-col footer-col-1">
<ul class="contact-list">
<li class="p-name">
- {% if site.author %}
+ {%- if site.author -%}
{{ site.author | escape }}
- {% else %}
+ {%- else -%}
{{ site.title | escape }}
- {% endif %}
+ {%- endif -%}
</li>
- {% if site.email %}
+ {%- if site.email -%}
<li><a class="u-email" href="mailto:{{ site.email }}">{{ site.email }}</a></li>
- {% endif %}
+ {%- endif -%}
</ul>
</div>
<div class="footer-col footer-col-2">
- {% include social.html %}
+ {%- include social.html -%}
</div>
<div class="footer-col footer-col-3">
- <p>{{ site.description | escape }}</p>
+ <p>{{- site.description | escape -}}</p>
</div>
</div>
</div>