From 0d89c4bd19732487232ab2637cf5e8632f48986b Mon Sep 17 00:00:00 2001 From: Matt Public Date: Thu, 24 Aug 2023 15:30:52 -0700 Subject: [PATCH] add brand option to metadata.json. add brand and link to nav if set. --- datasette/templates/_crumbs.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/datasette/templates/_crumbs.html b/datasette/templates/_crumbs.html index bd1ff0da..5f5b9a25 100644 --- a/datasette/templates/_crumbs.html +++ b/datasette/templates/_crumbs.html @@ -3,6 +3,9 @@ {% set items=crumb_items(request=request, database=database, table=table) %} {% if items %}

+ {% if metadata and metadata.brand %} + {{metadata.brand}} + {% endif %} {% for item in items %} {{ item.label }} {% if not loop.last %}