-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
Copy pathbrand.swig
47 lines (44 loc) · 1.57 KB
/
brand.swig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<div class="site-brand-container">
<div class="site-nav-toggle">
<div class="toggle" aria-label="{{ __('accessibility.nav_toggle') }}">
<span class="toggle-line toggle-line-first"></span>
<span class="toggle-line toggle-line-middle"></span>
<span class="toggle-line toggle-line-last"></span>
</div>
</div>
<div class="site-meta{%- if theme.custom_logo %} custom-logo{%- endif %}">
{%- if theme.custom_logo and theme.scheme === 'Muse' %}
<div class="site-meta-headline">
<a>
<img class="custom-logo-image" src="{{ theme.custom_logo }}" alt="{{ title }}">
</a>
</div>
{%- endif %}
<div>
<a href="{{ config.root }}" class="brand" rel="start">
<span class="logo-line-before"><i></i></span>
<span class="site-title">{{ title }}</span>
<span class="logo-line-after"><i></i></span>
</a>
</div>
{%- if subtitle %}
{%- if theme.seo %}
<h1 class="site-subtitle" itemprop="description">{{ subtitle }}</h1>
{% else %}
<p class="site-subtitle">{{ subtitle }}</p>
{%- endif %}
{%- endif %}
{%- if theme.custom_logo and (theme.scheme === 'Gemini' or theme.scheme === 'Pisces') %}
<a>
<img class="custom-logo-image" src="{{ theme.custom_logo }}" alt="{{ title }}">
</a>
{%- endif %}
</div>
<div class="site-nav-right">
<div class="toggle popup-trigger">
{%- if theme.algolia_search.enable or theme.local_search.enable %}
<i class="fa fa-search fa-fw fa-lg"></i>
{%- endif %}
</div>
</div>
</div>