Implement and use Author.display_name
This commit is contained in:
parent
a1f6a96fae
commit
a56855d5e4
4 changed files with 15 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
|||
{% load fr_display %}
|
||||
{% block content %}
|
||||
<div class="content-container">
|
||||
<h2>{{ author.name }}</h2>
|
||||
<h2>{{ author.display_name }}</h2>
|
||||
|
||||
{% if author.bio %}
|
||||
<p>
|
||||
|
@ -12,7 +12,7 @@
|
|||
</div>
|
||||
|
||||
<div class="content-container">
|
||||
<h2>Books by {{ author.name }}</h2>
|
||||
<h2>Books by {{ author.display_name }}</h2>
|
||||
<div class="book-grid row shrink wrap">
|
||||
{% for book in books %}
|
||||
<div class="book-preview">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue