privacyguides.org/_includes/card.html

31 lines
1.4 KiB
HTML
Raw Normal View History

2018-10-23 14:07:59 -04: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}}">Website:
{% if include.website %}
{{include.website}}
{% else %}
{{ include.url | remove: "https://" | remove: "http://" | remove: "www." | remove: "/" }}
{% endif %}
</a>
{% if include.tor %}
<a data-toggle="tooltip" data-placement="bottom" data-original-title="{{include.tor}}. Requires specific software to access: torproject.org" href="{{include.tor}}"><img alt="Tor" src="img/layout/tor.png" width="35"></a>
2018-10-23 14:07:59 -04:00
{% endif %}
</p>
{% if include.footer %}
<p>{{include.footer}}</p>
{% endif %}
2018-10-23 14:07:59 -04:00
</div>
</div>
2018-10-23 12:10:38 -04:00
</div>
</div>