33 lines
738 B
HTML
33 lines
738 B
HTML
{% load i18n %}
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico@1/css/pico.classless.min.css">
|
|
<title>photos</title>
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<h1>{{title}}</h1>
|
|
<h2>{% translate "This is the subtitle." %}</h2>
|
|
</header>
|
|
<main>
|
|
{% for media in medias %}
|
|
<section>
|
|
{% if media.photo %}
|
|
<img width="100%" src="{{ media.photo.url }}"/>
|
|
{% elif media.video %}
|
|
<video width="100%" controls src="{{ media.video.url }}"></video>
|
|
{% endif %}
|
|
</section>
|
|
{% endfor %}
|
|
</main>
|
|
<footer>
|
|
{% blocktranslate %}
|
|
Blah blah blah blah blah blah
|
|
{% endblocktranslate %}
|
|
</footer>
|
|
</body>
|
|
</html>
|