forked from sergiokopplin/indigo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader.html
26 lines (22 loc) · 981 Bytes
/
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
{% if page.title == "Home"
or page.title == "Blog"
or page.title == "Projects"
or page.title == "Tags"
%}{% assign showHeader = true %}{% endif %}
{% if showHeader == true %}
<header class="header-home {% if site.animation %}animated{% endif %}">
{% if site.about %}
<a class="link" href="{{ site.url }}/about">
<img class="selfie" alt="{{ site.name }}" src="{% if site.external-image %}{{ site.picture }}{% else %}{{ site.url }}/{{ site.picture }}{% endif %}" />
</a>
{% else %}
<span class="link">
<img class="selfie" alt="{{ site.name }}" src="{% if site.external-image %}{{ site.picture }}{% else %}{{ site.url }}/{{ site.picture }}{% endif %}" />
</span>
{% endif %}
<h1 class="title">{{ site.name }}</h1>
<h2 class="description">{{ site.bio }}</h2>
{% include social-links.html %}
</header>
{% endif %}
{% include nav.html %}