[+] Add home as a type
This commit is contained in:
@@ -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: []});
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user