diff --git a/404.html b/404.html new file mode 100644 index 0000000..28395d2 --- /dev/null +++ b/404.html @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + TypeORM - Amazing ORM for TypeScript and JavaScript (ES7, ES6, ES5). Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms. + + + + + diff --git a/index.html b/index.html index ae195c3..6253ea0 100644 --- a/index.html +++ b/index.html @@ -5,6 +5,14 @@ + + + @@ -45,6 +54,7 @@ + diff --git a/script/component/DocumentPage.js b/script/component/DocumentPage.js index 9086ec5..6c871fa 100644 --- a/script/component/DocumentPage.js +++ b/script/component/DocumentPage.js @@ -1,7 +1,7 @@ const DocumentPage = { template: `
- +
{{$t("contribute")}} {{$t("edit")}} @@ -11,7 +11,7 @@ const DocumentPage = { data: function() { return { document: this.$route.params.document, - fragment: this.$route.params.fragment, + hash: this.$route.hash, locale: $cookies.get("locale") || "en", readLink: "https://raw.githubusercontent.com/typeorm/typeorm/master/", editLink: "https://github.com/typeorm/typeorm/edit/master/" @@ -20,7 +20,7 @@ const DocumentPage = { watch: { '$route': function(to, from) { this.document = to.params.document; - this.fragment = to.params.fragment; + this.hash = to.hash; this.updateTitle(); } }, @@ -58,4 +58,4 @@ const DocumentPage = { } } } -}; \ No newline at end of file +}; diff --git a/script/component/MainPage.js b/script/component/MainPage.js index 3a48695..1795f52 100644 --- a/script/component/MainPage.js +++ b/script/component/MainPage.js @@ -25,6 +25,9 @@ const MainPage = { --> +