mirror of
https://gitee.com/huanghongxun/HMCL-docs.git
synced 2026-11-28 10:28:27 +08:00
28 lines
851 B
HTML
28 lines
851 B
HTML
---
|
|
layout: default
|
|
---
|
|
{%- assign locale = page.locale | default: layout.locale | default: site.locale %}
|
|
|
|
{% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
|
|
{% include page__hero.html locale=locale %}
|
|
{% elsif page.header.video.id and page.header.video.provider %}
|
|
{% include page__hero_video.html %}
|
|
{% endif %}
|
|
|
|
{% if page.url != "/" and site.breadcrumbs %}
|
|
{% unless paginator %}
|
|
{% include breadcrumbs.html locale=locale %}
|
|
{% endunless %}
|
|
{% endif %}
|
|
|
|
<div id="main" role="main">
|
|
{% include sidebar.html locale=locale %}
|
|
|
|
<div class="archive">
|
|
{% unless page.header.overlay_color or page.header.overlay_image %}
|
|
<h1 id="page-title" class="page__title"{% if page.locale %} lang="{{ page.locale }}"{% endif %}>{{ page.title }}</h1>
|
|
{% endunless %}
|
|
{{ content }}
|
|
</div>
|
|
</div>
|