forked from raviriley/agency-jekyll-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
services.html
59 lines (53 loc) · 2.33 KB
/
services.html
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
<!-- Services -->
{% if site.locale and site.locale != "" and site.locale != nil %}
<section class="page-section" id="{{ site.data.sitetext[site.locale].services.section | default: "services" }}">
<div class="container">
<div class="row">
<div class="col-lg-12 text-center">
<h2 class="section-heading text-uppercase">{{ site.data.sitetext[site.locale].services.title | default: "Services" }}</h2>
{% if site.data.sitetext[site.locale].services.text %}
<h3 class="section-subheading text-muted">{{ site.data.sitetext[site.locale].services.text }}</h3>
{% endif %}
</div>
</div>
<div class="row text-center">
{% for service in site.data.sitetext[site.locale].services.list %}
<div class="col-md-4">
<span class="fa-stack fa-4x">
<i class="fas fa-circle fa-stack-2x text-primary"></i>
<i class="{{ service.icon | default: "fas fa-shopping-cart" }} fa-stack-1x fa-inverse"></i>
</span>
<h4 class="service-heading">{{ service.title | markdownify }}</h4>
{% if service.desc %}<div class="text-muted">{{ service.desc | markdownify }}</div>{% endif %}
</div>
{% endfor %}
</div>
</div>
</section>
{% else %}
<section class="page-section" id="{{ site.data.sitetext.services.section | default: "services" }}">
<div class="container">
<div class="row">
<div class="col-lg-12 text-center">
<h2 class="section-heading text-uppercase">{{ site.data.sitetext.services.title | default: "Services" }}</h2>
{% if site.data.sitetext.services.text %}
<h3 class="section-subheading text-muted">{{ site.data.sitetext.services.text }}</h3>
{% endif %}
</div>
</div>
<div class="row text-center">
{% for service in site.data.sitetext.services.list %}
<div class="col-md-4">
<span class="fa-stack fa-4x">
<i class="fas fa-circle fa-stack-2x text-primary"></i>
<i class="{{ service.icon | default: "fas fa-shopping-cart" }} fa-stack-1x fa-inverse"></i>
</span>
<h4 class="service-heading">{{ service.title | markdownify }}</h4>
{% if service.desc %}<div class="text-muted">{{ service.desc | markdownify }}</div>{% endif %}
</div>
{% endfor %}
</div>
</div>
</section>
{% endif %}
<!-- End Services -->