Skip to content

Commit 89af73f

Browse files
committed
Add custom navbar
1 parent 0d15442 commit 89af73f

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

_config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
# Site settings
22
title: Everything Open Source
33
email: everythingopensource@gmail.com
4-
description: >- # this means to ignore newlines until "baseurl:"
4+
description: >-
55
Official website to document all activities happening in the open source community
66
baseurl: "" # the subpath of your site, e.g. /blog
77
url: "" # the base hostname & protocol for your site, e.g. http://example.com
88
twitter_username: jekyllrb
9+
logo: static/img/site/evos.jpg
910

1011
# Everything Open Source Social Links
1112
twitter: "http://twitter.com/Everything_Open"

_includes/header.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<nav>
2+
<div class="nav container">
3+
<div class="logo">
4+
<a class="navbar-brand" href="/">
5+
<img class="header-logo" src="{{site.logo}}" alt="Logo" height="45px" />
6+
</a>
7+
</div>
8+
9+
<ul class="nav-links">
10+
<li><a href="/about/">About</a></li>
11+
<li><a href="https://mesrenyamedogbe.hashnode.dev/" target="_blank">Blog</a></li>
12+
</ul>
13+
</div>
14+
</nav>

static/img/site/evos.jpg

21.8 KB
Loading

0 commit comments

Comments
 (0)