Skip to content

Commit

Permalink
header fix attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamil Krzyk committed Jul 18, 2018
1 parent 9e3ad92 commit 86df50b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 15 deletions.
5 changes: 0 additions & 5 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@ highlighter: rouge
theme: minima
plugins:
- jekyll-feed
- jekyll-inline-svg

# SVG plugin
svg:
optimize: true



Expand Down
18 changes: 8 additions & 10 deletions _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
{%- if page_paths -%}
<nav class="site-nav">
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
<!-- <label for="nav-trigger">
<label for="nav-trigger">
<span class="menu-icon">
<svg viewBox="0 0 18 15" width="18px" height="15px">
<path d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.032C17.335,0,18,0.665,18,1.484L18,1.484z M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.032C17.335,6.031,18,6.696,18,7.516L18,7.516z M18,13.516C18,14.335,17.335,15,16.516,15H1.484 C0.665,15,0,14.335,0,13.516l0,0c0-0.82,0.665-1.483,1.484-1.483h15.032C17.335,12.031,18,12.695,18,13.516L18,13.516z"/>
</svg>
</span>
</label> -->
</label>

<div class="trigger">
{%- for path in page_paths -%}
Expand All @@ -22,12 +22,10 @@
</nav>
{%- endif -%}

<!-- <div class="site-social-media-icons">
<a href="{{ "/feed.xml" | relative_url }}">{% svg /assets/svg/icon-rss.svg class="svg-icon" %}</a>
<a href="mailto:krzyk.kamil@gmail.com">{% svg /assets/svg/icon-mail.svg class="svg-icon" %}</a>
<a href="https://medium.com/@krzyk.kamil/">{% svg /assets/svg/icon-medium.svg class="svg-icon" %}</a>
<a href="https://www.linkedin.com/in/kamil-krzyk-20275483/">{% svg /assets/svg/icon-linkedin.svg class="svg-icon" %}</a>
<a href="https://twitter.com/F1sherKK/">{% svg /assets/svg/icon-twitter.svg class="svg-icon" %}</a>
<a href="https://github.com/FisherKK/">{% svg /assets/svg/icon-github.svg class="svg-icon" %}</a>
</div> -->
<div class="site-social-media-icons">
<a href="{{ "/feed.xml" | relative_url }}">
<?xml version="1.0" ?><svg class="svg-icon" enable-background="new 0 0 32 32" version="1.1" viewBox="0 0 32 32" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g id="OUTLINE_copy_2"><g><path d="M16,0C7.164,0,0,7.164,0,16s7.164,16,16,16s16-7.164,16-16S24.836,0,16,0z M11.904,21.951c-1.021,0-1.85-0.823-1.85-1.843 c0-1.015,0.829-1.847,1.85-1.847c1.025,0,1.852,0.833,1.852,1.847C13.756,21.128,12.928,21.951,11.904,21.951z M16.551,21.948 c0-1.741-0.677-3.379-1.904-4.604c-1.228-1.229-2.859-1.907-4.594-1.907v-2.664c5.057,0,9.173,4.116,9.173,9.175H16.551z M21.274,21.947c0-6.193-5.035-11.234-11.22-11.233V8.049c7.66,0,13.893,6.237,13.893,13.898H21.274z"/></g></g></svg>
</a>

</div>
</header>

0 comments on commit 86df50b

Please sign in to comment.