From d40229c404c09299270c481f39e3e1170b1da322 Mon Sep 17 00:00:00 2001 From: Heydon Pickering Date: Tue, 8 Aug 2017 19:23:14 +0100 Subject: [PATCH] create blank/starter README on clean --- package.json | 2 +- themes/infusion/data/README_BLANK.md | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 themes/infusion/data/README_BLANK.md diff --git a/package.json b/package.json index 10d9e4c..c6fabdd 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "serve": "hugo server --baseURL http://localhost:1313", - "clean": "rm -rf content && mkdir content && mkdir content/patterns && hugo new patterns/pattern.md && hugo new _index.md && hugo new print-version.md --kind print-version", + "clean": "rm -rf content && mkdir content && mkdir content/patterns && hugo new patterns/pattern.md && hugo new _index.md && hugo new print-version.md --kind print-version && cat themes/infusion/data/README_BLANK.md > README.md", "build": "rm -rfv docs/* && hugo && sw-precache --root=docs && git add -A" }, "pre-commit": [ diff --git a/themes/infusion/data/README_BLANK.md b/themes/infusion/data/README_BLANK.md new file mode 100644 index 0000000..0e0292b --- /dev/null +++ b/themes/infusion/data/README_BLANK.md @@ -0,0 +1,3 @@ +# Your Library's README + +Please fill me out!