featured item
This commit is contained in:
parent
490c712689
commit
2a24beb579
7 changed files with 89 additions and 10 deletions
|
|
@ -38,9 +38,11 @@ body {
|
|||
<h1>
|
||||
<span class="font-bold">{{ film.data.title | safe }}</span>
|
||||
</h1>
|
||||
{% if film.data.date %}
|
||||
<div class="date">
|
||||
{{ film.data.date | safe }}
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="country">
|
||||
{{ film.data.country|default:''|join:', ' }}
|
||||
</div>
|
||||
|
|
@ -79,7 +81,8 @@ body {
|
|||
<figure>
|
||||
<img src="https://archive.njp.ma/{{ item.id }}/480p.jpg">
|
||||
<figcaption>
|
||||
{{ item.title | safe }} ({{item.date | safe }})
|
||||
{{ item.title | safe }}
|
||||
{% if item.date %}({{item.date | safe }}){% endif %}
|
||||
</figcaption>
|
||||
</figure>
|
||||
</a>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue