1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-12-01 02:27:17 +01:00
mkdocs-material/material/partials/hero.html

11 lines
284 B
HTML
Raw Normal View History

2017-12-18 08:48:26 +01:00
{% set feature = config.theme.feature %}
2017-11-22 00:13:56 +01:00
{% set class = "md-hero" %}
{% if not feature.tabs %}
{% set class = "md-hero md-hero--expand" %}
{% endif %}
<div class="{{ class }}" data-md-component="hero">
<div class="md-hero__inner md-grid">
{{ page.meta.hero }}
</div>
</div>