mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-15 03:17:40 +01:00
11 lines
284 B
HTML
11 lines
284 B
HTML
{% set feature = config.theme.feature %}
|
|
{% 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>
|