Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ locale : "en-CA"
title : "Scott Bateman"
title_separator : "-"
name : &name "Scott Bateman"
first_name : "Scott"
last_name : "Bateman"
description : &description "Associate Professor at University of New Brunswick"
url : https://scottbateman.github.io # the base hostname & protocol for your site e.g. "https://mmistakes.github.io"
baseurl : "" # the subpath of your site, e.g. "/blog"
Expand Down
7 changes: 5 additions & 2 deletions _includes/masthead.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
<nav id="site-nav" class="greedy-nav">
<button><div class="navicon"></div></button>
<ul class="visible-links">
<li class="masthead__menu-item masthead__menu-item--lg"><a href="{{ base_path }}/">{{ site.title }}</a></li>
<li class="masthead__menu-item masthead__menu-item--lg">
<a href="{{ base_path }}/"><span class="masthead__first_name">{{ site.first_name }}</span>
<span class="masthead__last_name">{{ site.last_name }}</span></a>
</li>
{% for link in site.data.navigation.main %}
{% if link.url contains 'http' %}
{% assign domain = '' %}
Expand All @@ -20,4 +23,4 @@
</nav>
</div>
</div>
</div>
</div>
8 changes: 6 additions & 2 deletions _sass/_masthead.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
-webkit-animation-delay: 0.15s;
animation-delay: 0.15s;
z-index: 20;

&__inner-wrap {
@include container;
@include clearfix;
Expand All @@ -31,6 +31,10 @@
}
}

.masthead__first_name {
font-weight: normal;
}

.masthead__menu {

ul {
Expand All @@ -50,4 +54,4 @@
padding-right: 2em;
font-weight: 700;
}
}
}