From e554256948d0f7b4b71dfa78014e2172f11fc1c6 Mon Sep 17 00:00:00 2001 From: Shulhan Date: Sun, 21 Feb 2021 18:58:31 +0700 Subject: all: implement Watch functionality The Watch function, watch any changes on asciidoc files on directory "dir" recursively and changes on the HTML template file. If there is new or modified asciidoc files it will convert them into HTML files using HTML template automatically. If the HTML template file modified, it will re-convert all asciidoc files. If the HTML template file deleted, it will replace them with internal, default HTML template. --- testdata/html.tmpl | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 testdata/html.tmpl (limited to 'testdata') diff --git a/testdata/html.tmpl b/testdata/html.tmpl new file mode 100644 index 0000000..967be5e --- /dev/null +++ b/testdata/html.tmpl @@ -0,0 +1,5 @@ + + +{{.Title}} +{{.Body}} + -- cgit v1.3-6-g1900