spectral jekyll theme

This commit is contained in:
czmj
2017-09-22 10:46:39 +01:00
parent 3626b42dd2
commit 1c4fede6ad
62 changed files with 9156 additions and 40 deletions

23
_includes/header.html Normal file
View File

@ -0,0 +1,23 @@
<!-- Page Wrapper -->
<div id="page-wrapper">
<!-- Header -->
<header id="header" {% if page.layout == 'default' %} class="alt" {% endif %}>
<h1><a href="{{ "" | absolute_url }}/">Spectral</a></h1>
<nav id="nav">
<ul>
<li class="special">
<a href="#menu" class="menuToggle"><span>Menu</span></a>
<div id="menu">
<ul>
{% for page in site.pages %} {% if page.layout == "default" %}
<li><a href="{{ page.url | absolute_url }}">{{ page.title }}</a></li>
{% endif %} {% endfor %} {% for page in site.pages %} {% if page.layout == "page" %}
<li><a href="{{ page.url | absolute_url }}">{{ page.title }}</a></li>
{% endif %} {% endfor %}
</ul>
</div>
</li>
</ul>
</nav>
</header>