summaryrefslogtreecommitdiff
path: root/lib/template.source.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/template.source.sh')
-rw-r--r--lib/template.source.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/template.source.sh b/lib/template.source.sh
index ec49490..204078d 100644
--- a/lib/template.source.sh
+++ b/lib/template.source.sh
@@ -14,6 +14,11 @@ template::generate () {
log INFO "Converted $num_tpl_files template files"
}
+template::draft () {
+ CONTENT_FILTER=DRAFT-
+ template::generate
+}
+
template::_generate_file () {
local -r tpl_path="$1"; shift
local -r tpl_dir="$(dirname "$tpl_path")"