Re-theme site

This commit is contained in:
2020-12-13 03:11:29 +00:00
parent 9faeb8ce9f
commit d73d3caf7f
122 changed files with 14452 additions and 4504 deletions

24
_includes/header.html Normal file
View File

@@ -0,0 +1,24 @@
<!-- Header -->
<header id="header">
<img src="https://mgrove.uk/logo-clear-square.png" class="logo" />
<a class="logo" href="/">Matthew Grove</a>
<nav>
<a href="#menu">Menu</a>
</nav>
</header>
<!-- Nav -->
<nav id="menu">
<ul class="links">
<li><a href="/" {% if page.url == "/" or page.url == "/index.html" %} class="current-page-link"
{% endif %}>Home</a></li>
{% assign all_pages = site.pages | sort: "title" %}
{% for project in all_pages %}
{% if project.url != "/" and project.url != "/index.html" and project.url != "/sitemap.xml" %}
<li><a href="{{ project.url | relative_url }}" {% if project.url == page.url %} class="current-page-link"
{% endif %}>{{ project.title }}</a></li>
{% endif %}
{% endfor %}
</ul>
</nav>