From 91797cf1957cfc1eccd386da12b73fdb7470e002 Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Wed, 25 Dec 2019 17:36:07 -0500 Subject: [PATCH] [+] Add home as a type --- src/App.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/App.ts b/src/App.ts index 93a3bed..f4e63d7 100644 --- a/src/App.ts +++ b/src/App.ts @@ -110,6 +110,9 @@ export default class App extends Vue // Sort by date this.artworks.sort((a, b) => b.date.getTime() - a.date.getTime()); + + // Add home as a type + this.config.types.unshift({type: 'Home', posts: []}); } /**