Book page title
This commit is contained in:
parent
82bdfe2634
commit
23b36febff
@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="fr">
|
<html lang="fr">
|
||||||
<head>
|
<head>
|
||||||
<title>Livre</title>
|
<title>Livre | Bouquins</title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<link rel="stylesheet" href="css/bootstrap.min.css">
|
<link rel="stylesheet" href="css/bootstrap.min.css">
|
||||||
|
1
book.js
1
book.js
@ -54,6 +54,7 @@ var app = new Vue({
|
|||||||
},
|
},
|
||||||
bookSuccess: function(resp) {
|
bookSuccess: function(resp) {
|
||||||
this.book = resp;
|
this.book = resp;
|
||||||
|
document.title = this.book.title +' | Bouquins';
|
||||||
},
|
},
|
||||||
loadBook: function() {
|
loadBook: function() {
|
||||||
if (this.urlParams.id)
|
if (this.urlParams.id)
|
||||||
|
Loading…
Reference in New Issue
Block a user