update document title

This commit is contained in:
Ginger Wong 2020-07-03 18:10:57 -07:00
parent 53ba5eb186
commit 96258fc0f3
2 changed files with 3 additions and 5 deletions

View file

@ -2,9 +2,6 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/>
<title>{{title}}</title>
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet" />
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
@ -30,7 +27,7 @@ GW TODO:
*/
</script>
<body class="bg-gray-300 text-gray-800">
<div id="app-container" v-cloak class="flex no-chat">
<div id="app-container" v-cloak class="flex no-chat">
<div id="top-content">
<header class="flex border-b border-gray-900 border-solid shadow-md">

View file

@ -46,8 +46,9 @@ async function setupApp() {
app.streamerName = config.name;
app.summary = config.summary && addNewlines(config.summary);
app.tags = config.tags;
app.title = config.title;
app.appVersion = config.version;
app.title = config.title;
window.document.title = config.title;
try {