We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9df40b commit 9d165f5Copy full SHA for 9d165f5
_layouts/ecosystem_detail.html
@@ -44,8 +44,12 @@ <h3>Similar Projects</h3>
44
{% for item in site.ecosystem limit:3 %}
45
<div class="col-md-4">
46
<div class="card ecosystem-card">
47
- <a href="{{ site.baseurl }}{{ item.url }}">
48
- <div class="card-body {{ item.slug }}">
+ {% if item.external %}
+ <a href="{{ item.link }}" target="_blank">
49
+ {% else %}
50
+ <a href="{{ site.baseurl }}{{ item.url }}">
51
+ {% endif %}
52
+ <div class="card-body {{ item.title | slugify }} {% if item.external %}external{% endif %}">
53
<h4>{{ item.title }}</h4>
54
<p class="card-summary">{{ item.summary }}</p>
55
</div>
0 commit comments