Browse Source

update document title

pull/53/head
Ginger Wong 5 years ago
parent
commit
96258fc0f3
  1. 5
      webroot/index.html
  2. 3
      webroot/js/app.js

5
webroot/index.html

@ -2,9 +2,6 @@ @@ -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: @@ -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">

3
webroot/js/app.js

@ -46,8 +46,9 @@ async function setupApp() { @@ -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 {

Loading…
Cancel
Save