_includes/services.html in jekyll-agency-1.1.0 vs _includes/services.html in jekyll-agency-1.2.0
- old
+ new
@@ -1,19 +1,19 @@
<!-- Services -->
- <section class="page-section" id="{{ site.data.sitetext.services.section | default: "services" }}">
+ <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.services.title | default: "Services" }}</h2>
- {% if site.data.sitetext.services.text %}
- <h3 class="section-subheading text-muted">{{ site.data.sitetext.services.text }}</h3>
+ <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.services.list %}
+ {% 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>
\ No newline at end of file