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 %}
|
{% with format=book.physical_format pages=book.pages %}
|
||||||
{% if format %}
|
{% if format %}
|
||||||
{% comment %}
|
{% comment %}
|
||||||
@todo The bookFormat property is limited to a list of values
|
@todo The bookFormat property is limited to a list of values whereas the book edition is free text.
|
||||||
whereas the book edition is free text.
|
|
||||||
@see https://schema.org/bookFormat
|
@see https://schema.org/bookFormat
|
||||||
{% endcomment %}
|
{% endcomment %}
|
||||||
<meta itemprop="bookFormat" content="{{ format }}">
|
<meta itemprop="bookFormat" content="{{ format }}">
|
||||||
|
@ -49,8 +48,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% comment %}
|
{% comment %}
|
||||||
@todo The publisher property needs to be an Organization or a Person.
|
@todo The publisher property needs to be an Organization or a Person. We’ll be using Thing which is the more generic ancestor.
|
||||||
We’ll be using Thing which is the more generic ancestor.
|
|
||||||
@see https://schema.org/Publisher
|
@see https://schema.org/Publisher
|
||||||
{% endcomment %}
|
{% endcomment %}
|
||||||
{% if book.publishers %}
|
{% if book.publishers %}
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
{% spaceless %}
|
{% spaceless %}
|
||||||
{% comment %}
|
{% comment %}
|
||||||
@todo The author property needs to be an Organization or a Person. We’ll be
|
@todo The author property needs to be an Organization or a Person. We’ll be using Thing which is the more generic ancestor.
|
||||||
using Thing which is the more generic ancestor.
|
|
||||||
@see https://schema.org/Author
|
@see https://schema.org/Author
|
||||||
{% endcomment %}
|
{% endcomment %}
|
||||||
{% for author in book.authors.all %}
|
{% for author in book.authors.all %}
|
||||||
|
|
Loading…
Reference in a new issue