Remove layout_html shortcode

It is used only once and can easily be replaced with inline div, resulting in shorter code. Also fixes broken email within its usage

Signed-off-by: Egor Savkin <es@m-labs.hk>
This commit is contained in:
Egor Savkin 2025-01-07 17:37:44 +08:00
parent 47e8999927
commit 7841bd804a
2 changed files with 2 additions and 7 deletions

View File

@ -37,7 +37,7 @@ The <a href="https://github.com/quartiq/stabilizer" target="_blank" rel="noopene
{% layout_html(css='row d-flex align-items-top mt-5 mb-5') %} <div class="row d-flex align-items-top mt-5 mb-5">
<div class="col-12 col-md-3"> <div class="col-12 col-md-3">
<ul> <ul>
@ -66,7 +66,7 @@ The <a href="https://github.com/quartiq/stabilizer" target="_blank" rel="noopene
</p> </p>
</div> </div>
{% end %} </div>

View File

@ -1,5 +0,0 @@
<div class="{% if css %}{{ css }}{% else %}row d-flex align-items-center mt-5 mb-5{% endif %}">
{{ body | safe }}
</div>