-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b388690
commit e25e206
Showing
6 changed files
with
183 additions
and
4 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
{#- | ||
This file was automatically generated - do not edit | ||
-#} | ||
{% set class = "md-header" %} | ||
{% if "navigation.tabs.sticky" in features %} | ||
{% set class = class ~ " md-header--shadow md-header--lifted" %} | ||
{% elif "navigation.tabs" not in features %} | ||
{% set class = class ~ " md-header--shadow" %} | ||
{% endif %} | ||
<header class="{{ class }}" data-md-component="header"> | ||
<nav class="md-header__inner md-grid" aria-label="{{ lang.t('header') }}"> | ||
<a href="{{ config.extra.homepage | d(nav.homepage.url, true) | url }}" title="{{ config.site_name | e }}" class="md-header__button md-logo" aria-label="{{ config.site_name }}" data-md-component="logo"> | ||
{% include "partials/logo.html" %} | ||
</a> | ||
<label class="md-header__button md-icon" for="__drawer"> | ||
{% set icon = config.theme.icon.menu or "material/menu" %} | ||
{% include ".icons/" ~ icon ~ ".svg" %} | ||
</label> | ||
<div class="md-header__title" data-md-component="header-title"> | ||
<div class="md-header__ellipsis"> | ||
<div class="md-header__topic"> | ||
<span class="md-ellipsis"> | ||
{{ config.site_name }} | ||
</span> | ||
</div> | ||
<div class="md-header__topic" data-md-component="header-topic"> | ||
<span class="md-ellipsis"> | ||
{% if page.meta and page.meta.title %} | ||
{{ page.meta.title }} | ||
{% else %} | ||
{{ page.title }} | ||
{% endif %} | ||
</span> | ||
</div> | ||
</div> | ||
</div> | ||
{% if config.theme.palette %} | ||
{% if not config.theme.palette is mapping %} | ||
{% include "partials/palette.html" %} | ||
{% endif %} | ||
{% endif %} | ||
{% if not config.theme.palette is mapping %} | ||
{% include "partials/javascripts/palette.html" %} | ||
{% endif %} | ||
{% if config.extra.alternate %} | ||
{% include "partials/alternate.html" %} | ||
{% endif %} | ||
|
||
<!-- Custom link to Gen3.org (with additional spacing to the left of the search bar) --> | ||
<div style="margin-right: 20px;"> <!-- Adjust the margin as needed --> | ||
<h1 href="https://gen3.org/" class="md-header__button" aria-label="Gen3.org" target="_blank" rel="noopener noreferrer"> | ||
Gen3.org | ||
</h1> | ||
</div> | ||
<!-- End of custom link to Gen3.org --> | ||
|
||
{% if "material/search" in config.plugins %} | ||
<label class="md-header__button md-icon" for="__search"> | ||
{% set icon = config.theme.icon.search or "material/magnify" %} | ||
{% include ".icons/" ~ icon ~ ".svg" %} | ||
</label> | ||
{% include "partials/search.html" %} | ||
{% endif %} | ||
{% if config.repo_url %} | ||
<div class="md-header__source"> | ||
{% include "partials/source.html" %} | ||
</div> | ||
{% endif %} | ||
</nav> | ||
{% if "navigation.tabs.sticky" in features %} | ||
{% if "navigation.tabs" in features %} | ||
{% include "partials/tabs.html" %} | ||
{% endif %} | ||
{% endif %} | ||
</header> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.