fix(index.templ) centered-div class usage typo (#812)
* Fix centered-div class usage in index.templ There was a redundant <center> tag around a div with centered-div class. Well, not so redundant because a typo in the class attribute caused it to not apply. Removed another <center> tag and replaced by a div.centered-div for consistency. Signed-off-by: Jesús Martínez Novo <martineznovo@gmail.com> * Fix centered-div class usage in index.templ (continuation) Template needed to be compiled into go code... --------- Signed-off-by: Jesús Martínez Novo <martineznovo@gmail.com>
This commit is contained in:
parent
fbf69680f5
commit
9fa1795db7
2 changed files with 48 additions and 50 deletions
|
|
@ -65,12 +65,10 @@ templ base(title string, body templ.Component, impressum *config.Impressum, chal
|
|||
</head>
|
||||
<body id="top">
|
||||
<main>
|
||||
<center>
|
||||
<h1 id="title" class=".centered-div">{ title }</h1>
|
||||
</center>
|
||||
<h1 id="title" class="centered-div">{ title }</h1>
|
||||
@body
|
||||
<footer>
|
||||
<center>
|
||||
<div class="centered-div">
|
||||
<p>
|
||||
{ localizer.T("protected_by") } <a href="https://github.com/TecharoHQ/anubis">Anubis</a> from <a
|
||||
href="https://techaro.lol"
|
||||
|
|
@ -83,7 +81,7 @@ templ base(title string, body templ.Component, impressum *config.Impressum, chal
|
|||
-- <a href={ templ.SafeURL(fmt.Sprintf("%simprint", anubis.APIPrefix)) }>Imprint</a>
|
||||
</p>
|
||||
}
|
||||
</center>
|
||||
</div>
|
||||
</footer>
|
||||
</main>
|
||||
</body>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue