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" >
2018-10-27 10:28:46 -04:00
{% if include.labels %}
{% assign labels = include.labels | replace:", ", "," | split:"," %}
< div class = "mb-1" >
{% for label in labels %}
{% assign label_data = label | split:":" %}
{% assign color = label_data[0] %}
{% assign text = label_data[1] %}
< span class = "badge badge-{{color}}" > {{text}}< / span >
{% endfor %}
< / div >
{% endif %}
2018-10-23 14:07:59 -04:00
< p > < img src = "{{include.image}}" alt = "{{include.title}}" class = "panel-item" > {{include.description}}< / p >
2018-10-27 12:35:20 -04:00
< div >
2018-10-25 11:32:13 -04:00
< p >
2018-12-12 09:16:48 -05:00
< a class = "btn btn-{{include.color}} mb-1" href = "{{include.url}}" > Website:
2018-10-25 11:32:13 -04:00
{% if include.website %}
{{include.website}}
{% else %}
{{ include.url | remove: "https://" | remove: "http://" | remove: "www." | remove: "/" }}
{% endif %}
< / a >
{% if include.tor %}
2018-11-07 15:52:56 -05:00
< a class = "mb-1" 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 = "assets/img/layout/tor.png" width = "35" > < / a >
2018-10-25 12:12:44 -04:00
{% endif %}
{% if include.extra_button %}
{{include.extra_button}}
2018-10-23 14:07:59 -04:00
{% endif %}
< / p >
2018-10-25 11:32:13 -04:00
{% 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 >
2018-11-07 15:52:56 -05:00
< / div >