Don’t use linebreak in DTL block comments. (might break the linter on the length of line)

This commit is contained in:
Fabien Basmaison 2021-04-10 00:07:01 +02:00
parent 4c4801e2da
commit 37e48988b1
2 changed files with 3 additions and 6 deletions

View file

@ -6,8 +6,7 @@
{% with format=book.physical_format pages=book.pages %}
{% if format %}
{% comment %}
@todo The bookFormat property is limited to a list of values
whereas the book edition is free text.
@todo The bookFormat property is limited to a list of values whereas the book edition is free text.
@see https://schema.org/bookFormat
{% endcomment %}
<meta itemprop="bookFormat" content="{{ format }}">
@ -49,8 +48,7 @@
{% endif %}
{% comment %}
@todo The publisher property needs to be an Organization or a Person.
Well be using Thing which is the more generic ancestor.
@todo The publisher property needs to be an Organization or a Person. Well be using Thing which is the more generic ancestor.
@see https://schema.org/Publisher
{% endcomment %}
{% if book.publishers %}

View file

@ -1,7 +1,6 @@
{% spaceless %}
{% comment %}
@todo The author property needs to be an Organization or a Person. Well be
using Thing which is the more generic ancestor.
@todo The author property needs to be an Organization or a Person. Well be using Thing which is the more generic ancestor.
@see https://schema.org/Author
{% endcomment %}
{% for author in book.authors.all %}