Files
velero/site/_includes/case-studies-alternating.html
Lee Springer d995018a3e add velero.io site content, move docs to under site/docs (#1489)
* Adding in Jekyll site | Adjusting gitignore for Jekyll build | Moving docs to site folder

Signed-off-by: Lee Springer <lee@smalltalk.agency>

Adding in Jekyll site | Adjusting gitignore for Jekyll build | Moving docs to site folder

Signed-off-by: Lee Springer <lee@smalltalk.agency>

* Restore main.go to original location

Signed-off-by: Lee Springer <lee@smalltalk.agency>

* Updates to footer

Signed-off-by: Lee Springer <lee@smalltalk.agency>

* Updates to homepage links

Signed-off-by: Lee Springer <lee@smalltalk.agency>

* Content updates

Signed-off-by: Lee Springer <lee@smalltalk.agency>
2019-05-17 10:56:03 -07:00

27 lines
1.1 KiB
HTML

{{casestudy_background}}
<div class="alternating-cards">
{% for casestudy in site.casestudies %}
<div class="row no-gutters align-items-center">
{% if casestudy.icon %}
<div class="order-xs-first col-md-3 match-height icon bg-color-{{ page.backgrounds.case_study }} {% cycle('order-md-first', 'order-md-last') %}">
<img src="/img/case-study-icons/{{ casestudy.icon }}" alt="{{ casestudy.title }}"/>
</div>
{% endif %}
<div class="order-xs-last col-md-9 {% cycle('order-md-last', 'order-md-first') %}">
<div class="card-body">
{% if casestudy.title != blank %}
<h5 class="card-title">{{ casestudy.title }}</h5>
{% endif %}
<p class="card-text">{{ casestudy.content | markdownify }}</p>
{% for link in casestudy.links %}
<a class="card-link btn btn-primary btn-sm" href="{{ link[1] }}">{{ link[0] }}</a>
{% endfor %}
</div>
</div>
</div>
{% if limit > 0 and forloop.index >= limit %}
{% break %}
{% endif %}
{% endfor %}
</div>