diff --git a/blog/renderBlogPost.js b/blog/renderBlogPost.js index b20178e..eb076b3 100644 --- a/blog/renderBlogPost.js +++ b/blog/renderBlogPost.js @@ -127,6 +127,19 @@ module.exports= } + var regExp = /\/; + while (result.search(regExp) != -1) + { + const pathName = "blogContent/posts/" + categoryURL + "/html/" + + postURL + ".html"; + + var htmlContent = utils.getFileContents(pathName).toString(); + console.log(htmlContent); + + result = result.split("").join(htmlContent); + } + + if(blocks == -1) resolve(result); diff --git a/blogContent/posts/data-science/html/lets-build-a-genetic-algorithm.html b/blogContent/posts/data-science/html/lets-build-a-genetic-algorithm.html new file mode 100644 index 0000000..ec20828 --- /dev/null +++ b/blogContent/posts/data-science/html/lets-build-a-genetic-algorithm.html @@ -0,0 +1,485 @@ + + + +
+
+ + +
+
+
+
+

Population Variables

+
+
+
+
+ + +
+
+ + +
+
+
+
+ + +
+
+ + +
+
+
+ +
+
\ No newline at end of file diff --git a/blogContent/posts/data-science/lets-build-a-genetic-algorithm.md b/blogContent/posts/data-science/lets-build-a-genetic-algorithm.md new file mode 100644 index 0000000..1bd7563 --- /dev/null +++ b/blogContent/posts/data-science/lets-build-a-genetic-algorithm.md @@ -0,0 +1,5 @@ +# Background + + + +# Set Up \ No newline at end of file