forked from jarrekk/Jalpc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblog_header.html
executable file
·46 lines (43 loc) · 2.29 KB
/
blog_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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<div class="search-tool"
style="position: fixed; top: 0px ; bottom: 0px; left: 0px; right: 0px; opacity: 0.95; background-color: #111111; z-index: 9999; display: none;">
<input type="text" class="form-control search-content" id="search-content" style="position: fixed; top: 60px" placeholder="Search Blog">
<div style="position: fixed; top: 16px; right: 16px; z-index: 9999;">
<img src="{{ "/static/assets/img/search/cb-close.png" | prepend: site.baseurl }}" id="close-btn"/>
</div>
</div>
<div style="position: fixed; right: 16px; bottom: 20px; z-index: 9999;">
<img src="{{ "/static/assets/img/search/cb-search.png" | prepend : site.baseurl }}" id="search-btn" title="Double click Ctrl"/>
</div>
<div class="navbar-wrapper">
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header page-scroll">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="{{ "/" | prepend: site.baseurl }}">{{ site.title }}</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li><a class="page-scroll" href="{{ "blog/" | prepend: site.baseurl }}">{{ site.index.home }}</a></li>
{% for tag in site.data.blog %}
{% if tag.name != 'Donate' or site.donation %}
{% if page.title == tag.name %}
<li class="active">
{% else %}
<li>
{% endif %}
<a class="page-scroll" href="{{ tag.href | prepend: site.baseurl }}">{{ tag.name }}</a></li>
{% endif %}
{% endfor %}
</ul>
</div>
</div>
</nav>
</div>
{% if site.blog_carousel %}
{% include carousel.html %}
{% endif %}