Skip to content

Commit

Permalink
some work on the office section which i don't much like
Browse files Browse the repository at this point in the history
  • Loading branch information
lchski committed Sep 11, 2016
1 parent 565d29e commit b45b5fc
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 2 deletions.
9 changes: 8 additions & 1 deletion _includes/header.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
{% case layout.site_section %}
{% when 'office' %}
{% assign colour_class = 'white-70' %}
{% else %}
{% assign colour_class = 'black-80' %}
{% endcase %}

<header>
{% case page.url %}
{% when '/' %}
<h1>Lucas Cherkewski</h1>
{% else %}
<p class="b"><a class="link dim black-80" href="/">Lucas Cherkewski</a></p>
<p class="b"><a class="{{ 'link dim ' | append: colour_class }}" href="/">Lucas Cherkewski</a></p>
{% endcase %}
</header>
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</head>
{% case layout.site_section %}
{% when 'office' %}
{% assign site_section_class = 'bg-dark-gray' %}
{% assign site_section_class = 'bg-dark-gray white-70' %}
{% when 'study' %}
{% assign site_section_class = 'bg-washed-yellow' %}
{% else %}
Expand Down
6 changes: 6 additions & 0 deletions _layouts/office.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
layout: default
site_section: office
---

{{ content }}
5 changes: 5 additions & 0 deletions office/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
layout: office
---

Hello. (See how much more professional I am here?)

0 comments on commit b45b5fc

Please sign in to comment.