mirror of
https://github.com/simonw/datasette.git
synced 2026-09-29 21:34:07 +02:00
Clarify template context metadata names
This commit is contained in:
parent
a43e76c31a
commit
59ab0c0ca0
7 changed files with 65 additions and 63 deletions
|
|
@ -27,7 +27,7 @@ def template_context(cog):
|
|||
for klass in PAGES.values():
|
||||
title = "{} page".format(klass.__name__.removesuffix("Context"))
|
||||
intro = "{} Rendered using the ``{}`` template.".format(
|
||||
klass.__doc__, klass.template
|
||||
klass.__doc__, klass.documented_template
|
||||
)
|
||||
_section(cog, title, intro)
|
||||
if klass.extras_scope is not None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue