1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-24 15:40:15 +01:00
mkdocs-material/material/header.html

59 lines
2.2 KiB
HTML
Raw Normal View History

2016-08-07 18:01:56 +02:00
<header class="md-header">
<nav class="md-header-nav md-grid">
2016-08-07 18:01:56 +02:00
<div class="md-flex">
<div class="md-flex__cell md-flex__cell--shrink">
<label class="md-icon md-icon--menu md-header-nav__icon" for="drawer"></label>
2016-01-28 23:27:15 +01:00
</div>
<div class="md-flex__cell md-flex__cell--stretch">
<span class="md-flex__ellipsis md-header-nav__title">
2016-08-07 18:01:56 +02:00
{{ page_title | default(site_name, true) }}
</span>
2016-01-28 23:27:15 +01:00
</div>
<div class="md-flex__cell md-flex__cell--shrink">
<label class="md-icon md-icon--search md-header-nav__icon" for="search"></label>
<div class="md-search__overlay"></div>
<div class="md-search__inner">
<form class="md-search__form">
<input type="text" class="md-search__input" placeholder="Search" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" id="query">
<label class="md-icon md-icon--search md-search__icon" for="query"></label>
<div class="md-search__suggest">
2016-08-10 23:01:31 +02:00
FOO<br>
FOO<br>
FOO<br>
FOO<br>
FOO<br>
FOO<br>
FOO<br>
FOO<br>
FOO<br>
FOO<br>
FOO<br>
FOO<br>
FOO<br>
FOO<br>
</div>
</form>
2016-08-08 23:33:06 +02:00
</div>
</div>
{% if "github." in repo_url %}
{% set platform = "md-source--github" %}
{% elif "gitlab." in repo_url %}
{% set platform = "md-source--gitlab" %}
{% elif "bitbucket." in repo_url %}
{% set platform = "md-source--bitbucket" %}
{% else %}
{% set platform = "" %}
{% endif %}
<div class="md-flex__cell md-flex__cell--shrink">
<a href="{{ repo_url }}" title="Go to repository" class="md-source {{ platform }}">
<div class="md-source__repository">{{ repo_name }}</div>
<div class="md-source__stats">
0.2.4 &middot; 177 Stars &middot; 46 Forks
</div>
2016-09-08 19:43:23 +02:00
</a>
</div>
2016-01-28 23:27:15 +01:00
</div>
2016-08-07 18:01:56 +02:00
</nav>
<nav class="md-header-search">
</nav>
2016-08-07 18:01:56 +02:00
</header>