Browse Source

link via image

refactoring
Nico Schottelius 2 years ago
parent
commit
f1fa9f3408
  1. BIN
      assets/u/image/cards/open-chat.jpg
  2. 2
      content/u/projects/open-chat/contents.lr
  3. 7
      templates/summary-page.html

BIN
assets/u/image/cards/open-chat.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

2
content/u/projects/open-chat/contents.lr

@ -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

7
templates/summary-page.html

@ -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…
Cancel
Save