fix: add title and redirect metadata to template

This commit is contained in:
Leo Gavilieau 2023-05-21 22:26:01 +02:00
parent e339d72df6
commit 5be582c0ac
No known key found for this signature in database
GPG Key ID: 9F86E792898BD16B
1 changed files with 6 additions and 0 deletions

View File

@ -7,6 +7,9 @@
$if(title)$ $if(title)$
<title>$title$</title> <title>$title$</title>
$endif$ $endif$
$if(redirect)$
<meta http-equiv = "refresh" content = "0; url = $redirect$" />
$endif$
</head> </head>
<body> <body>
<header> <header>
@ -19,6 +22,9 @@
</nav> </nav>
</header> </header>
<main> <main>
$if(title)$
<h1 id="title">$title$</h1>
$endif$
$body$ $body$
</main> </main>
<footer> <footer>