mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-06-29 11:36:16 +00:00
Create Macros
This commit is contained in:
parent
3e3598ae10
commit
1fade10c41
2 changed files with 24 additions and 0 deletions
9
onlylegs/templates/macros/header.html
Normal file
9
onlylegs/templates/macros/header.html
Normal file
|
@ -0,0 +1,9 @@
|
|||
{% macro header_small(title, subtitle, buttons) %}
|
||||
<div class="banner-small">
|
||||
<div class="banner-content">
|
||||
<h1 class="banner-header">{{ title }}</h1>
|
||||
<p class="banner-info">{{ subtitle }}</p>
|
||||
<div class="pill-row">{{ buttons }}</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endmacro %}
|
Loading…
Add table
Add a link
Reference in a new issue