Skip to content

Commit 13bda07

Browse files
committed
articles page added and missing site.data fixed
1 parent 929672f commit 13bda07

File tree

3 files changed

+19
-8
lines changed

3 files changed

+19
-8
lines changed

_includes/footer.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@
22
<div class="container">
33

44
<nav class="social">
5-
{% if site.social.github %}
6-
<a class="social__link" target="_blank" rel="noopener noreferrer" href="https://github.com/{{ site.social.github }}">
5+
{% if site.data.social.github %}
6+
<a class="social__link" target="_blank" rel="noopener noreferrer" href="https://github.com/{{ site.data.social.github }}">
77
<i class='fa fa-github fa-2x'></i>
88
</a>
99
{% endif %}
1010

11-
{% if site.social.twitter %}
12-
<a class="social__link" target="_blank" rel="noopener noreferrer" href="https://www.twitter.com/{{ site.social.twitter }}">
11+
{% if site.data.social.twitter %}
12+
<a class="social__link" target="_blank" rel="noopener noreferrer" href="https://www.twitter.com/{{ site.data.social.twitter }}">
1313
<i class='fa fa-twitter fa-2x'></i>
1414
</a>
1515
{% endif %}
1616

17-
{% if site.social.facebook %}
18-
<a class="social__link" target="_blank" rel="noopener noreferrer" href="https://www.facebook.com/{{ site.social.facebook }}">
17+
{% if site.data.social.facebook %}
18+
<a class="social__link" target="_blank" rel="noopener noreferrer" href="https://www.facebook.com/{{ site.data.social.facebook }}">
1919
<i class='fa fa-facebook fa-2x'></i>
2020
</a>
2121
{% endif %}

_includes/header.html

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,29 @@
11
<header class="header" itemscope itemtype="http://schema.org/SiteNavigationElement" aria-label="Main navigation">
22
<div class="container">
33
<div class="header__inner">
4+
45
<a class="header__logo" href="{{ '/' | relative_url }}">
56
<div class="header__logo--container">
67
{% include assets/logo.svg %}
78
</div>
89
</a>
10+
911
<nav class="header__links">
1012
<div class="container header__links-wrapper">
1113
<a class="header__link" href="{{ '/' | relative_url }}" itemprop="url"><span itemprop="name">Home</span></a>
14+
<a class="header__link" href="{{ '/articles' | relative_url }}" itemprop="url"><span itemprop="name">Articles</span></a>
1215
<a class="header__link" href="{{ '/about' | relative_url }}" itemprop="url"><span itemprop="name">About</span></a>
13-
<a class="header__link" href="{{ '/contact' | relative_url }}" itemprop="url">
14-
<span itemprop="name">Contact</span>
16+
<a class="header__link" href="{{ '/contact' | relative_url }}" itemprop="url"><span itemprop="name">Contact</span>
1517
</a>
1618
</div>
1719
</nav>
20+
1821
<div class="header__toggle">
1922
<span></span>
2023
<span></span>
2124
<span></span>
2225
</div>
26+
2327
</div>
2428
</div>
2529
</header>

_pages/articles.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
layout: page
3+
title: Articles
4+
permalink: /articles/
5+
---
6+
7+
Content in progress.

0 commit comments

Comments
 (0)