From eb13d4f4a0604e33b45f295c1c362ff8ec4f7eac Mon Sep 17 00:00:00 2001 From: leafee98 Date: Tue, 24 Oct 2023 15:03:03 +0800 Subject: [PATCH] transform autoreload from macro to included html --- template/autoreload.html | 4 ++++ template/index.html.njk | 9 +-------- 2 files changed, 5 insertions(+), 8 deletions(-) create mode 100644 template/autoreload.html diff --git a/template/autoreload.html b/template/autoreload.html new file mode 100644 index 0000000..ee09ee0 --- /dev/null +++ b/template/autoreload.html @@ -0,0 +1,4 @@ + diff --git a/template/index.html.njk b/template/index.html.njk index 7d8eda1..65b9772 100644 --- a/template/index.html.njk +++ b/template/index.html.njk @@ -1,12 +1,5 @@ -{% macro autoreload() %} - -{% endmacro %} - {% macro unhide_func() %}