Skip to content

Commit

Permalink
Update home.html
Browse files Browse the repository at this point in the history
  • Loading branch information
abrahamnash authored Nov 29, 2024
1 parent 30e3fe9 commit 745b54e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,23 +24,23 @@
<div class="strip">
<div class="container pt-6 pb-6 pb-md-10">
<div class="row justify-content-start">
{% assign limit = site.home.limit_about_features | default: 6 %}
{% for feature in site.about_features limit: limit %}
{% assign limit = site.home.limit_services | default: 6 %}
{% for service in site.services limit: limit %}
<div class="col-12 col-md-4 mb-1">
<div class="feature feature-summary">
<div class="feature-content">
<h2 class="feature-title">
<a href="{{ feature.url | relative_url }}">{{ feature.title }}</a>
<div class="service service-summary">
<div class="service-content">
<h2 class="service-title">
<a href="{{ service.url | relative_url }}">{{ service.title }}</a>
</h2>
<p>{{ feature.excerpt | markdownify | strip_html | truncate: 100 }}</p>
<p>{{ service.excerpt | markdownify | strip_html | truncate: 100 }}</p>
</div>
</div>
</div>
{% endfor %}
</div>
<div class="row justify-content-center">
<div class="col-auto">
<a class="button button-primary" href="{{ "about" | relative_url }}">Learn More About Us</a>
<a class="button button-primary" href="{{ "services" | relative_url }}">View All Services</a>
</div>
</div>
</div>
Expand Down

0 comments on commit 745b54e

Please sign in to comment.