This repository has been archived by the owner on Aug 30, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 472
/
footer.liquid
executable file
·65 lines (54 loc) · 2.08 KB
/
footer.liquid
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<footer class="site-footer" role="contentinfo">
<div class="wrapper">
<div class="grid">
{% if settings.footer_display_contact %}
<div class="grid-item large--one-third">
<h3>{{ settings.footer_contact_title }}</h3>
<p>
{% if settings.footer_contact_text != blank %}
{{ settings.footer_contact_text }}
{% else %}
Add some text to show here in your <a href="admin/themes" title="Edit theme settings"> theme settings</a>.
{% endif %}
</p>
</div>
{% endif %}
{% if settings.footer_display_social %}
<div class="grid-item large--one-third">
<h3>{{ settings.footer_social_title }}</h3>
{% comment %}
Loop through the persistent theme settings and list out each social network link.
{% endcomment %}
<ul class="inline-list">
{% if settings.twitter_link != blank %}<a href="{{ settings.twitter_link }}" title="{{ shop.name }} on Twitter">Twitter</a>{% endif %}
{% if settings.facebook_link != blank %}<a href="{{ settings.facebook_link }}" title="{{ shop.name }} on Facebook">Facebook</a>{% endif %}
</ul>
</div>
{% endif %}
{% if settings.footer_display_newsletter %}
<div class="grid-item large--one-third">
<h3>{{ settings.footer_newsletter_title }}</h3>
{% include 'newsletter-form' %}
</div>
{% endif %}
</div>
<hr>
{% comment %}
Loop through available payment methods and show their icons.
{% endcomment %}
{% unless shop.enabled_payment_types == empty %}
<h4 class="text-center">Accepted Payments</h4>
<ul class="inline-list payment-icons text-center">
{% for type in shop.enabled_payment_types %}
<li>
<img src="{{ type | payment_type_img_url }}" />
</li>
{% endfor %}
</ul>
{% endunless %}
<p class="text-center">
<a href="http://shopify.com/timber">Timber</a> by <a href="http://www.shopify.com?ref=Timber">Shopify</a><br>
<small>{{ powered_by_link }}</small>
</p>
</div>
</footer>