-
Notifications
You must be signed in to change notification settings - Fork 7
/
footer.njk
52 lines (47 loc) · 2.24 KB
/
footer.njk
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
<footer class="pure-g">
<div class="about-company pure-u-1 pure-u-md-2-5">
<p><img class="logo" src="{{ website.logo }}" alt="{{ website.short_name }} Logo" width="70" height="20"></p>
<p>{{ footer.text }}</h4>
<p><small>© {% thisYear %} {{ footer.copyright }}</small></p>
</div>
{# Footer link columns: #}
{% for col in footer.columns -%}
<div class="linkbox pure-u-1 pure-u-md-1-5">
<h3 class="column-header imp">{{ col.column }}</h3>
{% if col.type == "api" %}
{% for item in developers | rejectattr("hidden") | rejectattr("disabled") -%}
<a href="/developers/eps/{{ item.name | slug }}">{{item.title_short or item.name}}</a>
<br>
{%- endfor %}
{% endif %}
{% if col.type == "retail" %}
{% for item in products | rejectattr("hidden") | rejectattr("disabled") -%}
<a href="/products/{{ item.name | slug }}">{{item.title_short or item.title}}</a>
<br>
{%- endfor %}
{% endif %}
{% if col.type == "links" %}
{% for link in col.links -%}
<a href="{{ link.url }}">{{link.label}}</a>
<br>
{%- endfor %}
{% endif %}
</div>
{%- endfor %}
{# Signup and Follow Section #}
<div class="signupbox pure-u-1 pure-u-md-1-5">
<br>
<a href="{% getSignupURL website.signup_url, business %}" class="button">Sign Up</a>
<br><br>
<small><a class="text-primary icolink sales bold" href="{{ website.contact_url }}">{% svgico 'chat' %} {{ footer.contact_button_text }}</a></small>
<br><br>
<div class="socialicons">
<h3 class="column-header">FOLLOW US</h3>
<a href="{{ website.facebook }}" target="_blank" rel="noopener" title="{{ website.short_name }} Facebook Page">{% svgico 'facebook-square' %}</a>
<a href="{{ website.linkedin }}" target="_blank" rel="noopener" title="{{ website.short_name }} LinkedIn Page">{% svgico 'linkedin-square' %}</a>
<a href="{{ website.twitter }}" target="_blank" rel="noopener" title="{{ website.short_name }} Twitter Page">{% svgico 'twitter-square' %}</a>
<a href="{{ website.github }}" target="_blank" rel="noopener" title="{{ website.short_name }} Github Page">{% svgico 'github-square' %}</a>
<a href="/feed.xml" target="_blank" title="RSS Feed: {{ website.short_name }} Blog">{% svgico 'rss-square' %}</a>
</div>
</div>
</footer>