Create Macros

This commit is contained in:
Michał Gdula 2023-05-29 10:34:25 +00:00
parent 3e3598ae10
commit 1fade10c41
2 changed files with 24 additions and 0 deletions

View 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 %}