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

View File

@@ -1,34 +1,39 @@
<!DOCTYPE html>
<!DOCTYPE HTML>
<html>
{% include head.html %}
<body>
<!-- cookie notice is included automatically -->
{% include cookie-notice.html %}
<!-- content of navbar is included automatically -->
{% include navbar.html %}
{% include head.html %}
<div class="mdc-drawer-app-content">
<header class="mdc-top-app-bar app-bar" id="app-bar">
<div class="mdc-top-app-bar__row">
<section class="mdc-top-app-bar__section mdc-top-app-bar__section--align-start">
<a href="javascript:void(0);" class="demo-mensu material-icons mdc-top-app-bar__navigation-icon">menu</a>
<span class="mdc-top-app-bar__title">{{ page.title }} | Matthew Grove</span>
</section>
</div>
</header>
<script src="/assets/js/jquery.min.js"></script>
<main class="main-content" id="main-content">
<div class="mdc-top-app-bar--fixed-adjust">
{{ content }}
<!-- link to source code on GitHub -->
<a href="https://github.com/mgrove36/demo-code/tree/master{{ page.url | relative_url }}" class="source-code-link mdc-fab mdc-fab--extended" data-mdc-auto-init="MDCRipple">
<span class="material-icons mdc-fab__icon">rate_review</span>
<span class="mdc-fab__label">View on GitHub</span>
</a>
</div>
</main>
{% include footer.html %}
</div>
</body>
</html>
<body class="is-preload">
{% include header.html %}
{% include cookie-notice.html %}
<!-- Heading -->
<div id="heading">
<h1>{{ page.title }}</h1>
</div>
<!-- Main -->
<section id="main" class="wrapper">
<div class="inner">
<div class="content">
{{ content }}
</div>
</div>
</section>
<!-- Footer -->
<footer id="footer">
<div class="inner">
{% include footer.html %}
</div>
</footer>
{% include scripts.html %}
</body>
</html>

61
_layouts/home.html Normal file
View File

@@ -0,0 +1,61 @@
<!DOCTYPE HTML>
<html>
{% include head.html %}
<script src="/assets/js/jquery.min.js"></script>
<body class="is-preload">
{% include header.html %}
{% include cookie-notice.html %}
<!-- Banner -->
<section id="banner">
<div class="inner">
<img src="https://mgrove.uk/logo-clear-square.png" class="banner-logo" />
<h1>Matthew Grove</h1>
<p>{{ page.description }}</p>
</div>
</section>
<!-- Highlights -->
<section class="wrapper">
<div class="inner">
<header class="special">
<h2>Projects</h2>
<p>{{ content }}</a></p>
</header>
<div class="highlights">
{% for project in all_pages %}
{% if project.url != "/" and project.url != "/index.html" and project.url != "/sitemap.xml" %}
<section>
<div class="content">
<header>
<a href="{{ project.url | relative_url }}" class="icon fa-{{ project.icon }}"><span class="label"></span></a>
<h3>{{ project.title }}</h3>
</header>
<p>{{ project.description }}</p>
<a href="{{ project.url | relative_url }}" class="button small">See more</a>
</div>
</section>
{% endif %}
{% endfor %}
</div>
</div>
</section>
<!-- Footer -->
<footer id="footer">
<div class="inner">
{% include footer.html %}
</div>
</footer>
{% include scripts.html %}
</body>
</html>