From 4a8d56a34be7f74e6a42e1d584aa0faddbc93063 Mon Sep 17 00:00:00 2001 From: James Mills Date: Sat, 18 Mar 2023 13:07:52 +1000 Subject: [PATCH] Fix live.js so we only use it in dev builds --- .zs/layout.html | 4 +--- .zs/scripts | 5 +++++ 2 files changed, 6 insertions(+), 3 deletions(-) create mode 100755 .zs/scripts diff --git a/.zs/layout.html b/.zs/layout.html index d5741d3..076dd82 100644 --- a/.zs/layout.html +++ b/.zs/layout.html @@ -20,8 +20,6 @@ Demo Source -

zs starter template

-

A zs starter template

{{ content }}
- + {{ scripts }} diff --git a/.zs/scripts b/.zs/scripts new file mode 100755 index 0000000..d0a9dbc --- /dev/null +++ b/.zs/scripts @@ -0,0 +1,5 @@ +#!/bin/sh + +if [ -z "$ZS_PRODUCTION" ]; then + echo '' +fi