Compare commits
2 Commits
31c761a991
...
40911124fd
Author | SHA1 | Date | |
---|---|---|---|
40911124fd | |||
92a985b3e1 |
@ -1,6 +1,6 @@
|
|||||||
<div class="col">
|
<div class="col">
|
||||||
<div class="card shadow-sm">
|
<div class="card shadow-sm">
|
||||||
{% if this.title %}
|
{% if this.title and this.title|length >= 1 %}
|
||||||
<div class="card-header position-relative">
|
<div class="card-header position-relative">
|
||||||
<span class="flex">{{ this.title }}</span>
|
<span class="flex">{{ this.title }}</span>
|
||||||
<a
|
<a
|
||||||
@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
{% if this.description and this.description|length >= 1 %}
|
{% if this.description and this.description|length >= 1 %}
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
{% if this.headline %}
|
{% if this.headline and this.headline|length >= 1 %}
|
||||||
<h5 class="card-title">{{ this.headline }}</h5>
|
<h5 class="card-title">{{ this.headline }}</h5>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<p class="card-text">{{ this.description }}</p>
|
<p class="card-text">{{ this.description }}</p>
|
||||||
|
1
test.py
1
test.py
@ -76,6 +76,7 @@ template_vars = {
|
|||||||
"gallery_items": [
|
"gallery_items": [
|
||||||
{
|
{
|
||||||
"src": "https://files.c0defox.es/Pictures/arctic-fox.jpg",
|
"src": "https://files.c0defox.es/Pictures/arctic-fox.jpg",
|
||||||
|
"headline": "Alopex-Vulpes",
|
||||||
"description": "An arctic fox :3",
|
"description": "An arctic fox :3",
|
||||||
"title": "fox",
|
"title": "fox",
|
||||||
"reactions": {
|
"reactions": {
|
||||||
|
Loading…
Reference in New Issue
Block a user