1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <!DOCTYPE html>
- <html lang="{{lang}}"{% if is_rtl %} dir="rtl"{% endif %}>
- <head>
- <meta charset="utf-8">
- <title>{{title|safe}}</title>
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
- <link rel="stylesheet" href="/static/css/bootstrap{% if is_rtl %}-rtl{% endif %}.min.css">
- </head>
- <body>
- <div class="container">
- <div class="row" id="entries">
- {% for entry in feed.entries %}
- <div class="col-12 col-sm-6 col-md-4 col-lg-3 g-1">
- <div class="card">
- <div class="card-body">
- <div class="float-end ms-1"><span class="badge bg-warning">{{ entry.date }}</span></div>
- {{ entry.description|safe }}
- </div>
- {% if entry.images %}
- <ul class="list-group">
- {% for image in entry.images %}
- <li class="list-group-item"><a target="_blank" href="{{image.url}}"><img class="w-100" src="{{image.url}}" alt="{{image.media_description}}" /></a></li>
- {% endfor %}
- </ul>
- {% endif %}
- {% if entry.videos %}
- <ul class="list-group">
- {% for video in entry.videos %}
- <li class="list-group-item"><video controls loop class="w-100" src="{{video.url}}" /></li>
- {% endfor %}
- </ul>
- {% endif %}
- </div>
- </div>
- {% endfor %}
- </div>
- </div>
- </body>
- </html>
|