mirror of
https://github.com/privacyguides/privacyguides.org.git
synced 2025-07-24 12:21:09 +00:00
Fix templates for app data
This commit is contained in:
15
_includes/recommendation-text.html
Normal file
15
_includes/recommendation-text.html
Normal file
@@ -0,0 +1,15 @@
|
||||
<h3 class="h4{% if item.type == "Anti-Recommendation" %} text-danger">
|
||||
<span class="fad fa-times-octagon fa-fw text-danger"></span>{% else %}">{% endif %} {{ item.title }}
|
||||
</h3>
|
||||
{{ item.description | markdownify }}
|
||||
{% if item.downloads or item.website or item.article %}<p>
|
||||
{% capture text %}
|
||||
{% if item.article %} | <a href="{% link {{ item.article }} %}">More Information</a>{% endif %}
|
||||
{% if item.website %} | <a href="{{ item.website }}">Project Website</a>{% endif %}
|
||||
{% if item.downloads %}
|
||||
{% for platform in item.downloads %}
|
||||
| <i class="{{ platform.icon }} fa-fw"></i> <a href="{{ platform.url }}"> {{ platform.name }}</a>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endcapture %}{{ text | remove_first: '| ' }}
|
||||
</p>{% endif %}
|
Reference in New Issue
Block a user