Skip to content

Commit ff25126

Browse files
authored
add support for phone numbers in footer; fix daattali#136
1 parent b638ef8 commit ff25126

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

_includes/footer.html

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,17 @@
132132
</span>
133133
</a>
134134
</li>
135-
{% endif %}
135+
{% endif %}
136+
{% if site.author.telephone and site.footer-links-active.telephone %}
137+
<li>
138+
<a href="tel:{{ site.author.telephone }}" title="Phone">
139+
<span class="fa-stack fa-lg">
140+
<i class="fa fa-circle fa-stack-2x"></i>
141+
<i class="fa fa-phone fa-stack-1x fa-inverse"></i>
142+
</span>
143+
</a>
144+
</li>
145+
{% endif %}
136146
{% if site.footer-links-active.rss %}
137147
<li>
138148
<a href="{{ '/feed.xml' | prepend: site.baseurl }}" title="RSS">

0 commit comments

Comments
 (0)