mimic block

master
km0 2 years ago
parent 3422d694a1
commit 40005b8f69

File diff suppressed because one or more lines are too long

@ -27,6 +27,18 @@ def dump():
"slug": folder,
}
# this is temporary, sorry
elif "type" in content:
if content["type"] == 'mimic_code':
postit = {
"title": metadata['title'],
"type": content['type'],
"code": content['code'],
"date": content['date'],
"credits": content['credits'],
"slug": folder,
}
elif "card" in content:
postit = {
"title": metadata["title"],

@ -1 +1 @@
Subproject commit 2dba0a31ec7176952550a3341c9ed54682fe15f6
Subproject commit 37a83db99b5a10a47e20cb4ce795515f3aae3d85

@ -66,3 +66,12 @@
.crosswords .description.long-text {
font-size: 18px;
}
.mimic code {
display: block;
background-color: var(--color);
color: white;
font-size: 17px;
line-height: 33.9px;
margin: 0;
}

@ -49,6 +49,14 @@
<div class="category">{{content['start']}} {{content['category']}}</div>
{%elif content['type'] == 'mimic_code'%}
<p class="description">
<span> {{content['credits']}} </span>
<code>{{content['code']}}</code>
<span> {{content['date']}} </span>
</p>
{%else%}
<p

Loading…
Cancel
Save