mirror of
https://github.com/TecharoHQ/anubis.git
synced 2026-04-11 19:18:46 +00:00
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:
committed by
GitHub
parent
fbf69680f5
commit
9fa1795db7
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user