Add video name to page titles

This commit is contained in:
Sam Carlton 2021-01-19 22:50:26 -06:00
parent 722bf53983
commit 3a6119578d
2 changed files with 9 additions and 2 deletions

View file

@ -68,13 +68,13 @@ class DefaultLayout {
render({
content,
pageTitle = null
title = null
}) {
return /* html */`
<!doctype html>
<html lang="${ config.head.htmlAttrs.lang }">
<head>
<title>${ pageTitle || config.head.title }</title>
<title>${ title || config.head.title }</title>
${ this.generateMetaTags() }