From 2611aa208d33d8298c303c0cb2ee184038f8725f Mon Sep 17 00:00:00 2001 From: Hippo Date: Sun, 6 Oct 2019 18:10:22 +0530 Subject: [PATCH] Fix broken builds when trying to run regex on empty content --- src/templates/page.js | 2 +- src/templates/post.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/templates/page.js b/src/templates/page.js index 3d1b252..921966e 100755 --- a/src/templates/page.js +++ b/src/templates/page.js @@ -35,7 +35,7 @@ const Page = ({ data, location }) => { {/* The main page content */}
diff --git a/src/templates/post.js b/src/templates/post.js index d1dbce5..63bd20b 100755 --- a/src/templates/post.js +++ b/src/templates/post.js @@ -40,7 +40,7 @@ const Post = ({ data, location }) => { {/* The main post content */ }