diff --git a/config.yaml b/config.yaml index 2a73f9c..0a46a05 100644 --- a/config.yaml +++ b/config.yaml @@ -4,13 +4,12 @@ language: en vault: root: public - cleanup: true - -view: - index: - notfound: + cleanup: false metadata: hidden: - example - foo/bar.md + routes: + index: + error: diff --git a/src/scripts/app.js b/src/scripts/app.js index c65498c..79917cf 100644 --- a/src/scripts/app.js +++ b/src/scripts/app.js @@ -1,6 +1,6 @@ import { Engine } from './search' import { Index, State } from './object' -import router, { Routes } from './router' +import router from './router' import zettelkasten from './zettelkasten' import { marked } from 'marked' @@ -60,6 +60,21 @@ export default () => ({ `; } + + fallback() { + this.value = ` +