Closed cldellow closed 1 year ago
The get_metadata hook and the hidden tables features might work well.
It may actually be useful to expose these? Maybe the way we do stats is by a custom template for rendering these tables?
See, e.g., https://docs.datasette.io/en/stable/custom_templates.html#custom-templates
Unfortunately it looks like if we ship a custom template, it has to have a hardcoded database name. ...unless we can hook that in a plugin somehow?
I figured out how to do custom templates and am going to lean into them being visible, so closing
The get_metadata hook and the hidden tables features might work well.
It may actually be useful to expose these? Maybe the way we do stats is by a custom template for rendering these tables?
See, e.g., https://docs.datasette.io/en/stable/custom_templates.html#custom-templates
Unfortunately it looks like if we ship a custom template, it has to have a hardcoded database name. ...unless we can hook that in a plugin somehow?