Book page title

This commit is contained in:
Meutel 2017-01-01 17:33:03 +01:00
parent 82bdfe2634
commit 23b36febff
2 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="fr">
<head>
<title>Livre</title>
<title>Livre | Bouquins</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta charset="utf-8" />
<link rel="stylesheet" href="css/bootstrap.min.css">

View File

@ -54,6 +54,7 @@ var app = new Vue({
},
bookSuccess: function(resp) {
this.book = resp;
document.title = this.book.title +' | Bouquins';
},
loadBook: function() {
if (this.urlParams.id)