feat: add section_title macro with optional anchor
This commit is contained in:
@@ -0,0 +1,14 @@
|
|||||||
|
{% macro section_title(title, anchor="") %}
|
||||||
|
<section class="section-title">
|
||||||
|
<div class="container text-center">
|
||||||
|
{%- if anchor %}
|
||||||
|
<div class="anchor" id="{{ anchor }}">
|
||||||
|
<h2>{{ title }}</h2>
|
||||||
|
</div>
|
||||||
|
{%- else %}
|
||||||
|
<h2>{{ title }}</h2>
|
||||||
|
{%- endif %}
|
||||||
|
<span class="bordered-icon"><i class="fa fa-circle-thin"></i></span>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
{% endmacro %}
|
||||||
Reference in New Issue
Block a user