Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Update home page - render element only if url is set
IKarbowiak78c00b06b203
diff --git a/templates/home.html b/templates/home.htmlindex 789b98c3c0..8fa974be37 100644--- a/templates/home.html+++ b/templates/home.html@@ -7,8 +7,12 @@</head><body>- <a href={{dashboard}} target="_blank">Dashboard</a>- <a href={{storefront}} target="_blank">Storefront</a>+ {% if dashboard %}+ <a href={{dashboard}} target="_blank">Dashboard</a>+ {% endif %}+ {% if storefront %}+ <a href={{storefront}} target="_blank">Storefront</a>+ {% endif %}<a href="{% url "api" %}" target="_blank">Playground</a></body>