Init with some changes to the Serif Theme
This commit is contained in:
commit
912d143813
243 changed files with 15251 additions and 0 deletions
69
_layouts/home.html
Normal file
69
_layouts/home.html
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
---
|
||||
layout: default
|
||||
bodyClass: "page-home"
|
||||
---
|
||||
|
||||
<div class="intro">
|
||||
<div class="container">
|
||||
<div class="row justify-content-start">
|
||||
<div class="col-12 col-md-7 col-lg-6 order-2 order-md-1">
|
||||
{{ content }}
|
||||
{% if page.show_call_box %}
|
||||
{% include call.html show_button=true %}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% if page.intro_image %}
|
||||
<div class="col-12 col-md-5 col-lg-6 order-1 order-md-2 position-relative">
|
||||
<img alt="{{ page.title }}" class="intro-image{% if page.intro_image_absolute %} intro-image-absolute{% endif %}{% if page.intro_image_hide_on_mobile %} intro-image-hide-mobile{% endif %}" src="{{ page.intro_image | relURL }}" />
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="strip">
|
||||
<div class="container pt-6 pb-6 pb-md-10">
|
||||
<div class="row justify-content-start">
|
||||
{% 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="service service-summary">
|
||||
<div class="service-content">
|
||||
<h2 class="service-title">
|
||||
<a href="{{ service.url | relative_url }}">{{ service.title }}</a>
|
||||
</h2>
|
||||
<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="{{ "services" | relative_url }}">View All Services</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% if site.data.features %}
|
||||
<div class="strip strip-grey">
|
||||
<div class="container pt-6 pb-6 pt-md-10 pb-md-10">
|
||||
<div class="row justify-content-center">
|
||||
|
||||
{% for feature in site.data.features %}
|
||||
<div class="col-12 col-md-6 col-lg-4 mb-2">
|
||||
<div class="feature">
|
||||
{% if feature.image %}
|
||||
<div class="feature-image"><img alt="{{ feature.title }} logo" src="{{ feature.image.url | relative_url }}" width="{{ feature.image.width }}" height="{{ feature.image.height }}" /></div>
|
||||
{% endif %}
|
||||
<h2 class="feature-title">{{ feature.title }}</h2>
|
||||
<div class="feature-content">{{ feature.description }}</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue