scribd.github.io/_includes/hero.html

22 lines
650 B
HTML

{% assign hero = page.hero %}
<section class="hero theme-{{ hero.theme | default: "white" }}">
<div class="hero__container container container-offset">
<header class="hero__header">
{% if hero.label %}
<h1 class="hero__section-heading">{{ hero.label }}</h1>
{% endif %}
{% if hero.title %}
<h2 class="hero__title">{{ hero.title }}</h2>
{% endif %}
{% if hero.body %}
<p class="m-0 body-lg text-length-md">{{ hero.body }}</p>
{% endif %}
</header>
</div>
{% include logo-texture.html %}
</section>