Skip to content

Commit

Permalink
404
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Apr 11, 2018
1 parent 58fc1f6 commit 478ea33
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions lib/default-theme/NotFound.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,25 @@
<template>
<div class="theme-container">
<h1>404</h1>
<blockquote>There's nothing here.</blockquote>
<div class="content">
<h1>404</h1>
<blockquote>{{ getMsg() }}</blockquote>
</div>
</div>
</template>

<script>
const msgs = [
`There's nothing here.`,
`How did we get here?`,
`That's a Four-Oh-Four.`,
`Looks like we've got some broken links.`
]
export default {
methods: {
getMsg () {
return msgs[Math.floor(Math.random() * msgs.length)]
}
}
}
</script>

0 comments on commit 478ea33

Please sign in to comment.