feat: cov.jpg cover image + retina thumbnails

This commit is contained in:
relikd
2023-02-28 20:53:15 +01:00
parent 477d134cd1
commit 19fc20b624
12 changed files with 76 additions and 37 deletions

View File

@@ -1,5 +1,5 @@
{% extends "layout.html" %}
{% from "macros/recipes.html" import render_recipe_list %}
{% from "macros/recipes.html" import render_recipes %}
{% from "macros/pagination.html" import render_pagination_all %}
{% block title %}{{ bag('i18n+' + this.alt, 'title.recipes') }}{% endblock %}
{% block body %}
@@ -8,6 +8,6 @@
}} <a href="/static/pdf-{{ this.alt }}.pdf" download="recipes-{{ this.alt }}.pdf" title="{{
bag('i18n+' + this.alt, 'other.get_pdf')
}}"><img class="h1em" alt="(PDF)" height="20pt" src="{{ '/img/icon-pdf.svg'|url }}"></a></h1>
{{ render_recipe_list(this.pagination.items) }}
{{ render_recipes(this.pagination.items) }}
{{ render_pagination_all(this.pagination) }}
{% endblock %}