From 506f9db1c9d54a1af4d75ee0ee36e79ccaeacef6 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Sat, 1 Aug 2015 11:51:39 +1000 Subject: Rename template to layout --- gulpfile.js | 2 +- src/layout/post.hbs | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++ src/templates/post.hbs | 66 -------------------------------------------------- 3 files changed, 67 insertions(+), 67 deletions(-) create mode 100644 src/layout/post.hbs delete mode 100644 src/templates/post.hbs diff --git a/gulpfile.js b/gulpfile.js index 160d3e1..a76cafa 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -118,7 +118,7 @@ } function performTemplateChange(content) { - var file = dir.src + '/templates/post.hbs'; + var file = dir.src + '/layout/post.hbs'; var stat = fs.statSync(file); return fs.readFileSync(file, {'encoding': 'utf-8'}); } diff --git a/src/layout/post.hbs b/src/layout/post.hbs new file mode 100644 index 0000000..169bd9e --- /dev/null +++ b/src/layout/post.hbs @@ -0,0 +1,66 @@ + + + + + {{ title }} + + + + + + + + + + + + + + +
+
+

+ + {{ title }} +

+

{{ description }}

+
+
+ +
+ {{{ body }}} +
+ + + + + diff --git a/src/templates/post.hbs b/src/templates/post.hbs deleted file mode 100644 index 169bd9e..0000000 --- a/src/templates/post.hbs +++ /dev/null @@ -1,66 +0,0 @@ - - - - - {{ title }} - - - - - - - - - - - - - - -
-
-

- - {{ title }} -

-

{{ description }}

-
-
- -
- {{{ body }}} -
- - - - - -- cgit v1.2.3