1
0
mirror of https://gitlab.com/brutaldon/brutaldon.git synced 2024-11-02 16:37:19 -04:00

Mess around with card formatting some more

This commit is contained in:
Jason McBrayer 2019-03-28 07:58:31 -04:00
parent 7e1ade6d70
commit e0bc0eba26

View File

@ -54,27 +54,27 @@
{% if toot.card %} {% if toot.card %}
<div class="card"> <div class="card">
<div class="card-header">
<div class="card-header-title">
<a href="{{ toot.card.url }}"> {{ toot.card.title }} </a>
</div>
</div>
{% if toot.card.description %}
<div class="card-content columns"> <div class="card-content columns">
{% if toot.card.image %} {% if toot.card.image %}
<div class="column is-one-third"> <div class="column is-one-third">
<a href="{{ toot.card.url }}"> <a href="{{ toot.card.url }}">
<img alt="{{ toot.card.title }}" <img alt="{{ toot.card.title }}"
src="{{ toot.card.image }}" src="{{ toot.card.image }}"
class="is-max-256"> class="is-max-128">
</a> </a>
</div> </div>
{% endif %} {% endif %}
<div class="column is-two-thirds"> <div class="column is-two-thirds">
<p>
<strong>
<a href="{{ toot.card.url }}">
{{ toot.card.title }}
</a>
</strong>
<p>{{ toot.card.description }}</p> <p>{{ toot.card.description }}</p>
</div> </div>
</div> </div>
{% endif %}
</div> </div>
{% endif %} {% endif %}