diff --git a/datasette/hookspecs.py b/datasette/hookspecs.py index 13a10680..240bf80f 100644 --- a/datasette/hookspecs.py +++ b/datasette/hookspecs.py @@ -112,3 +112,53 @@ def table_actions(datasette, actor, database, table): @hookspec def database_actions(datasette, actor, database): """Links for the database actions menu""" + + +@hookspec +def include_table_top(datasette, database, actor, table): + """Templates to include at the top of the table page""" + + +@hookspec +def include_table_bottom(datasette, database, actor, table): + """Templates to include at the bottom of the table page""" + + +@hookspec +def include_row_top(datasette, database, actor, table): + """Templates to include at the top of the row page""" + + +@hookspec +def include_row_bottom(datasette, database, actor, table): + """Templates to include at the bottom of the row page""" + + +@hookspec +def include_database_top(datasette, database, actor): + """Templates to include at the top of the database page""" + + +@hookspec +def include_database_bottom(datasette, database, actor): + """Templates to include at the bottom of the database page""" + + +@hookspec +def include_query_top(datasette, database, actor): + """Templates to include at the top of the query page""" + + +@hookspec +def include_query_bottom(datasette, database, actor): + """Templates to include at the bottom of the query page""" + + +@hookspec +def include_index_top(datasette, actor): + """Templates to include at the top of the index page""" + + +@hookspec +def include_index_bottom(datasette, actor): + """Templates to include at the bottom of the index page"""