forked from mirrors/bookwyrm
Don’t use linebreak in DTL block comments. (might break the linter on the length of line)
This commit is contained in:
parent
4c4801e2da
commit
37e48988b1
2 changed files with 3 additions and 6 deletions
|
@ -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.
|
||||
We’ll be using Thing which is the more generic ancestor.
|
||||
@todo The publisher property needs to be an Organization or a Person. We’ll be using Thing which is the more generic ancestor.
|
||||
@see https://schema.org/Publisher
|
||||
{% endcomment %}
|
||||
{% if book.publishers %}
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{% spaceless %}
|
||||
{% comment %}
|
||||
@todo The author property needs to be an Organization or a Person. We’ll be
|
||||
using Thing which is the more generic ancestor.
|
||||
@todo The author property needs to be an Organization or a Person. We’ll be using Thing which is the more generic ancestor.
|
||||
@see https://schema.org/Author
|
||||
{% endcomment %}
|
||||
{% for author in book.authors.all %}
|
||||
|
|
Loading…
Reference in a new issue