privacyguides.org/_includes/card.html

25 lines
1007 B
HTML
Raw Normal View History

2018-10-23 20:07:59 +02:00
<div class="col-xl-4 col-lg-6 col-md-12 mb-2">
<div class="card card-{{include.color}}">
{% if include.color == "warning" %}
<div class="card-header text-dark bg-{{include.color}}">
{% else %}
<div class="card-header text-white bg-{{include.color}}">
{% endif %}
<h3 class="h5">{{include.title}}</h3>
</div>
<div class="card-body">
<p><img src="{{include.image}}" alt="{{include.title}}" class="panel-item">{{include.description}}</p>
<div class="card-bottom">
<p><a class="btn btn-{{include.color}}" href="{{include.url}}">
{% if include.website %}
{{include.website}}
{% else %}
Website: {{ include.url | remove: "https://" | remove: "http://" | remove: "www." | remove: "/" }}
{% endif %}
</a>
</p>
<p>{{include.footer}}</p>
</div>
</div>
2018-10-23 18:10:38 +02:00
</div>
</div>