Compare commits
2 Commits
40911124fd
...
c8fd56837f
Author | SHA1 | Date | |
---|---|---|---|
c8fd56837f | |||
eaddc0641f |
@ -1,8 +1,8 @@
|
|||||||
<div class="col">
|
<div class="col">
|
||||||
<div class="card shadow-sm">
|
<div class="card shadow-sm">
|
||||||
{% if this.title and this.title|length >= 1 %}
|
{% if this.title and this.title|length >= 1 and not this.headline %}
|
||||||
<div class="card-header position-relative">
|
<div class="card-header position-relative">
|
||||||
<span class="flex">{{ this.title }}</span>
|
{{ this.title }}
|
||||||
<a
|
<a
|
||||||
href="#"
|
href="#"
|
||||||
class="btn btn-link float-end"
|
class="btn btn-link float-end"
|
||||||
@ -22,9 +22,18 @@
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
{% if this.description and this.description|length >= 1 %}
|
{% if this.description and this.description|length >= 1 %}
|
||||||
<div class="card-body">
|
<div class="card-body position-relative">
|
||||||
{% if this.headline and this.headline|length >= 1 %}
|
{% if this.headline and this.headline|length >= 1 %}
|
||||||
<h5 class="card-title">{{ this.headline }}</h5>
|
<h5 class="card-title">{{ this.headline }}</h5>
|
||||||
|
<a
|
||||||
|
href="#"
|
||||||
|
class="btn btn-link position-absolute bottom-1 end-0"
|
||||||
|
data-bs-toggle="tooltip"
|
||||||
|
data-bs-placement="top"
|
||||||
|
data-bs-title="Add a reaction"
|
||||||
|
>
|
||||||
|
<i class="bi-heart-fill text-danger"></i>
|
||||||
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<p class="card-text">{{ this.description }}</p>
|
<p class="card-text">{{ this.description }}</p>
|
||||||
</div>
|
</div>
|
||||||
|
2
test.py
2
test.py
@ -26,7 +26,7 @@ template_vars = {
|
|||||||
"place_in_head": True,
|
"place_in_head": True,
|
||||||
},
|
},
|
||||||
"masonry": {
|
"masonry": {
|
||||||
"src": "https://cdn.jsdelivr.net/npm/masonry-layout@4.2.2/dist/masonry.pkgd.min.js"
|
"src": "https://unpkg.com/masonry-layout@4/dist/masonry.pkgd.min.js"
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"css": {
|
"css": {
|
||||||
|
Loading…
Reference in New Issue
Block a user