diff --git a/content/.vuepress/components/Slate.vue b/content/.vuepress/components/Slate.vue index 7d6da1b..035cc05 100644 --- a/content/.vuepress/components/Slate.vue +++ b/content/.vuepress/components/Slate.vue @@ -51,10 +51,10 @@ return { content: {}, htmlContent: "", + markdownFile: "", searchIndex: {}, searchResults: {}, - toc: {}, - markdownFile: "" + toc: {} } }, @@ -156,6 +156,7 @@ }, created: function () { + console.log(this.markdownFile); this.$http.get(this.markdownFile).then(function (response) { this.htmlContent = md.render(response.body); diff --git a/content/api/index.md b/content/api/index.md index 18813ac..a466f17 100644 --- a/content/api/index.md +++ b/content/api/index.md @@ -3,4 +3,6 @@ api: true title: API --- - + + + diff --git a/content/slate-test.md b/content/slate-test.md deleted file mode 100644 index 995ac2e..0000000 --- a/content/slate-test.md +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file