18 lines
		
	
	
		
			544 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			544 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
{% 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.
 | 
						||
    @see https://schema.org/Author
 | 
						||
{% endcomment %}
 | 
						||
{% for author in book.authors.all %}
 | 
						||
    <a
 | 
						||
        href="/author/{{ author.id }}"
 | 
						||
        class="author"
 | 
						||
        itemprop="author"
 | 
						||
        itemscope
 | 
						||
        itemtype="https://schema.org/Thing"
 | 
						||
    ><span
 | 
						||
        itemprop="name"
 | 
						||
    >{{ author.name }}<span></a>{% if not forloop.last %}, {% endif %}
 | 
						||
{% endfor %}
 | 
						||
{% endspaceless %}
 |