From c7592dcc847ecbad2da8a5ce4f31c370d2a9374f Mon Sep 17 00:00:00 2001 From: Sergio Mendolia Date: Fri, 29 Sep 2023 11:15:15 +0200 Subject: [PATCH] better title --- templates/book/index.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/book/index.html.twig b/templates/book/index.html.twig index d7633fbd..e763351a 100644 --- a/templates/book/index.html.twig +++ b/templates/book/index.html.twig @@ -1,6 +1,6 @@ {% extends 'base.html.twig' %} -{% block title %}{{ book.title }}{% endblock %} +{% block title %}{{ book.authors|first }} {% if book.serie is not null %}> {{ book.serie }} {{ book.serieIndex }} {% endif %}> {{ book.title }}{% endblock %} {% block body %}