Use high-res image for page and blog headers

This commit is contained in:
Francesco Siddi 2018-05-07 15:26:26 +02:00
parent 53b6210531
commit 1bfb6cd2f6
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
| {% macro render_blog_post(node, project=None, pages=None) %}
| {% if node.picture %}
a.blog_index-header(href="{{ node.url }}")
img(src="{{ node.picture.thumbnail('l', api=api) }}")
img(src="{{ node.picture.thumbnail('h', api=api) }}")
| {% endif %}
| {% if project and project._id != config.MAIN_PROJECT_ID %}
| {{ projectmacros.render_secondary_navigation(project, pages=pages) }}

View File

@ -3,7 +3,7 @@
| {% block body %}
| {% if node.picture %}
header
img.header(src="{{ node.picture.thumbnail('l', api=api) }}")
img.header(src="{{ node.picture.thumbnail('h', api=api) }}")
| {% endif %}
| {% block navbar_secondary %}
| {{ super() }}