mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-28 12:24:23 +00:00
31 lines
714 B
HTML
31 lines
714 B
HTML
{% capture hero_body %}
|
|
<div class="bd-hero-body">
|
|
<div class="bd-hero-heading">
|
|
<h1 class="title algolia-lvl0">
|
|
{% if include.icon %}
|
|
<span class="icon">
|
|
<i class="{{ include.icon }}"></i>
|
|
</span>
|
|
{% endif %}
|
|
{{ include.title | markdownify }}
|
|
</h1>
|
|
<div class="subtitle is-4 algolia-lvl1">
|
|
{{ include.subtitle | markdownify }}
|
|
</div>
|
|
{{ include.content }}
|
|
</div>
|
|
</div>
|
|
{% endcapture %}
|
|
|
|
<section class="hero bd-hero bd-is-{{ include.color }}">
|
|
<div class="hero-body">
|
|
{% if page.fullwidth %}
|
|
{{ hero_body }}
|
|
{% else %}
|
|
<div class="container">
|
|
{{ hero_body }}
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
</section>
|