$:render_template("books/custom_carousel", books=page.works, key="subjects", load_more={"url": page.key + ".json", "limit": len(page.works)})

$_("Publishing History")

$:_('This is a chart to show the publishing history of editions of works about this subject. Along the X axis is time, and on the y axis is the count of editions published. Click here to skip the chart.')  $_("This graph charts editions published on this subject.")
$_("Editions Published")
$_("Year of Publication")

$_("Related...")

$jsdef renderSubjects(subjects): $if len(subjects) > 0: $for s in subjects: $s.name$cond(loop.last, '', ',') $else: $_("None found.") $for category, label, limit in subject_list:
$jsdef renderAuthors(authors): $for a in page.authors: $a.name, $ungettext("1 book", "%(count)d books", a.count, count=a.count)

$_("Prolific Authors")

$_("who have written the most books on this subject")
$:renderAuthors(page.authors)
$ publishers_feature_enabled = "publishers" in ctx.features $jsdef renderPublishers(publishers): $for p in publishers: $if publishers_feature_enabled: $p.name, $else: $p.name, $ungettext("1 edition", "%(count)s editions", p.count, count=commify(p.count))
$if "lists" in ctx.features:
$:render_template("lists/widget", page, include_rating=False, exclude_own_lists=True)