link via image
This commit is contained in:
parent
23b0901113
commit
f1fa9f3408
3 changed files with 6 additions and 3 deletions
BIN
assets/u/image/cards/open-chat.jpg
Normal file
BIN
assets/u/image/cards/open-chat.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue