You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
842 B
HTML
29 lines
842 B
HTML
3 years ago
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="UTF-8" />
|
||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||
|
<title>Post it</title>
|
||
|
<link rel="stylesheet" href="postit.css" />
|
||
|
|
||
|
<script src="/postit/fitText.js"></script>
|
||
|
<script src="/postit/resize.js" defer></script>
|
||
|
</head>
|
||
|
<body>
|
||
|
<div class="container">
|
||
|
{% for content in contents %} {% for i in range(12)%}
|
||
|
<div class="post-it">
|
||
|
{%if content['img'] %}
|
||
|
<img src="{{content['img']}}" alt="{{content['description']}}" />
|
||
|
<figcaption>{{content['description']}}</figcaption>
|
||
|
{%else%}
|
||
|
<h2 class="title">{{content['title']}}</h2>
|
||
|
<p class="description">{{content['description']}}</p>
|
||
|
{%endif%}
|
||
|
</div>
|
||
|
{%endfor%} {% endfor %}
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|