fix: add title and redirect metadata to template
This commit is contained in:
parent
e339d72df6
commit
5be582c0ac
|
@ -7,6 +7,9 @@
|
|||
$if(title)$
|
||||
<title>$title$</title>
|
||||
$endif$
|
||||
$if(redirect)$
|
||||
<meta http-equiv = "refresh" content = "0; url = $redirect$" />
|
||||
$endif$
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
|
@ -19,6 +22,9 @@
|
|||
</nav>
|
||||
</header>
|
||||
<main>
|
||||
$if(title)$
|
||||
<h1 id="title">$title$</h1>
|
||||
$endif$
|
||||
$body$
|
||||
</main>
|
||||
<footer>
|
||||
|
|
Loading…
Reference in New Issue