-
Notifications
You must be signed in to change notification settings - Fork 877
/
header.html
24 lines (24 loc) · 1.01 KB
/
header.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<header class="site-header">
<h3 class="site-title">
<a href="{{ site.github.url }}/">{{ site.title }}</a>
</h3>
<nav class="menu-list">
{% for item in site.data.settings.menu %}
<a href="{{ site.github.url }}/{{ item.url }}" class="menu-link">{{ item.name }}</a>
{% endfor %}
{% for item in site.data.settings.social %}
<a href="{{ item.link }}" class="menu-link" target="_blank"><i class="fa fa-{{ item.icon }}" aria-hidden="true"></i></a>
{% endfor %}
</nav>
<div class="dropdown">
<button class="dropbtn"><i class="fa fa-bars" aria-hidden="true"></i></button>
<div class="dropdown-content">
{% for item in site.data.settings.menu %}
<a href="{{ site.github.url }}/{{ item.url }}" class="menu-link">{{ item.name }}</a>
{% endfor %}
{% for item in site.data.settings.social %}
<a href="{{ item.link }}" class="menu-link" target="_blank"><i class="fa fa-{{ item.icon }}" aria-hidden="true"></i></a>
{% endfor %}
</div>
</div>
</header>