Show padlock on private index page, refs #811

This commit is contained in:
Simon Willison 2020-06-08 07:18:37 -07:00
commit 1cf86e5ecc
3 changed files with 10 additions and 1 deletions

View file

@ -5,7 +5,7 @@
{% block body_class %}index{% endblock %}
{% block content %}
<h1>{{ metadata.title or "Datasette" }}</h1>
<h1>{{ metadata.title or "Datasette" }}{% if private %} 🔒{% endif %}</h1>
{% block description_source_license %}{% include "_description_source_license.html" %}{% endblock %}