wrap all page content in container

for robustness with addons etc injection other elements in body
This commit is contained in:
f0x 2022-06-08 02:24:56 +02:00
commit 23786826a8
3 changed files with 38 additions and 29 deletions

View file

@ -1,6 +1,6 @@
<!DOCTYPE html>
<!-- Header tmpl -->
<!-- header.tmpl -->
<html lang="en">
<head>
<meta charset="UTF-8">
@ -17,12 +17,13 @@
<title>{{.instance.Title}} - GoToSocial</title>
</head>
<body>
<header>
<img src="/assets/logo.png" alt="Instance Logo"/>
<div>
<h1>
{{.instance.Title}}
</h1>
</div>
<div></div>
</header>
<div class="page">
<header>
<img src="/assets/logo.png" alt="Instance Logo"/>
<div>
<h1>
{{.instance.Title}}
</h1>
</div>
<div></div>
</header>