link via image

This commit is contained in:
Nico Schottelius 2020-02-02 15:27:47 +01:00
parent 23b0901113
commit f1fa9f3408
3 changed files with 6 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View file

@ -2,6 +2,8 @@ title: Open Chat
---
subtitle: Open Source requires Open Communication
---
image: /u/image/cards/open-chat.jpg
---
content:
You can chat with us either via Mattermost on

View file

@ -11,17 +11,18 @@
{% endif %}
<div class="col-md-4 mb-3">
<div class="card">
<a href="{{ childpage|url }}">
{% if childpage.image %}
<img class="card-img-top" src="{{ childpage.image }}"
alt="childpage.title">
alt="{{ childpage.title }}">
{% else %}
<img class="card-img-top" src="/u/image/cards/placeholder.png"
alt="childpage.title">
alt="{{ childpage.title }}">
{% endif %}
</a>
<div class="card-body">
<h5 class="card-title">{{ childpage.title }}</h5>
<p class="card-text">{{ childpage.subtitle }}</p>
<a class="btn btn-primary" href="{{ childpage|url }}">Check it out</a>
</div>
</div>
</div>