Hard code menu.
Closes https://gitlab.com/autonomic-cooperative/autonomic-cooperative.gitlab.io/issues/27.
This commit is contained in:
parent
753e0f0103
commit
f51d3bf47b
@ -1,7 +1,4 @@
|
|||||||
<!-- Page Wrapper -->
|
|
||||||
<div id="page-wrapper">
|
<div id="page-wrapper">
|
||||||
|
|
||||||
<!-- Header -->
|
|
||||||
<header id="header" {% if page.layout == 'default' %} class="alt" {% endif %}>
|
<header id="header" {% if page.layout == 'default' %} class="alt" {% endif %}>
|
||||||
<h1><a href="{{ "/" | absolute_url }}">Autonomic</a></h1>
|
<h1><a href="{{ "/" | absolute_url }}">Autonomic</a></h1>
|
||||||
<nav id="nav">
|
<nav id="nav">
|
||||||
@ -10,18 +7,11 @@
|
|||||||
<a href="#menu" class="menuToggle"><span>Menu</span></a>
|
<a href="#menu" class="menuToggle"><span>Menu</span></a>
|
||||||
<div id="menu">
|
<div id="menu">
|
||||||
<ul>
|
<ul>
|
||||||
{% for page in site.pages %}
|
<li><a href="{{ "/" | relative_url }}">Home</a></li>
|
||||||
{% if page.layout == "default" %}
|
<li><a href="{{ "/#core-values" | relative_url }}">Our Core Values</a></li>
|
||||||
<li><a href="{{ page.url | absolute_url }}">{{ page.title }}</a></li>
|
<li><a href="{{ "/blog" | relative_url }}">Blog</a></li>
|
||||||
{% endif %}
|
<li><a href="{{ "/#services" | relative_url }}">Services We Offer</a></li>
|
||||||
{% endfor %}
|
<li><a href="{{ "/#contact" | relative_url }}">Get In Touch</a></li>
|
||||||
{% for page in site.pages %}
|
|
||||||
{% if page.layout == "page" or page.layout == "spotlight" %}
|
|
||||||
{% unless page.hidden %}
|
|
||||||
<li><a href="{{ page.url | absolute_url }}">{{ page.title }}</a></li>
|
|
||||||
{% endunless %}
|
|
||||||
{% endif %}
|
|
||||||
{% endfor %}
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
Reference in New Issue
Block a user