5
0
mirror of https://git.coop/cotech/website.git synced 2024-12-22 10:35:24 +00:00

Extract includes from default layout

This commit is contained in:
James Mead 2017-07-01 13:36:32 +01:00
parent c98701edc3
commit 636d1cc27f
3 changed files with 56 additions and 55 deletions

28
_includes/footer.html Normal file
View File

@ -0,0 +1,28 @@
<footer>
<div class="footer-upper">
<div class="row">
<div class="small-12 columns">
<div class="menu-centered">
<ul class="menu">
<li><a href="about">About <span>&#xbb;</span></a></li>
<li><a href="join">Join <span>&#xbb;</span></a></li>
<li><a href="manifesto">Manifesto <span>&#xbb;</span></a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="footer-lower">
<div class="row">
<div class="small-12 columns">
<img src="{{ site.github.url }}/app/themes/coop-tech-oowp-theme/public/img/coop-logo.png" class="float-center" />
<p>Site developed by <a href="http://glowboxdesign.co.uk" target="_blank">Glowbox Design</a> &amp; <a href="http://outlandish.com" target="_blank">Outlandish</a>.</p>
<p>Source code available on <a href="https://github.com/cotech/website" target="_blank">GitHub</a>.</p>
<p>Hosted by <a href="https://www.webarchitects.co.uk" target="_blank">Webarchitects</a> for CoTech &#xa9;2017</p>
</div>
</div>
</div>
</footer>

26
_includes/head.html Normal file
View File

@ -0,0 +1,26 @@
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="UTF-8">
<title>{{ page.title }} &laquo; Cooperative Technologists</title>
<link rel="canonical" href="{{ page.url | absolute_url }}" />
<link rel='stylesheet' id='oowp_css-css' href='{{ site.github.url }}/app/mu-plugins/oowp/oowp.css?ver=4.8' type='text/css' media='all' />
<link rel='stylesheet' id='app-css' href='{{ site.github.url }}/app/themes/coop-tech-oowp-theme/public/css/app.css?ver=4.8' type='text/css' media='all' />
<script type='text/javascript' src='{{ site.github.url }}/app/themes/coop-tech-oowp-theme/public/js/vendor.js?ver=4.8'></script>
<link rel="icon" href="{{ site.github.url }}/app/uploads/2017/02/cropped-cotech_512x512-32x32.png" sizes="32x32" />
<link rel="icon" href="{{ site.github.url }}/app/uploads/2017/02/cropped-cotech_512x512-192x192.png" sizes="192x192" />
<link rel="apple-touch-icon-precomposed" href="{{ site.github.url }}/app/uploads/2017/02/cropped-cotech_512x512-180x180.png" />
<meta name="msapplication-TileImage" content="{{ site.github.url }}/app/uploads/2017/02/cropped-cotech_512x512-270x270.png" />
<style type="text/css" id="wp-custom-css">
section#contact div.row div p a:active,
section#contact div.row div p a:focus,
section#contact div.row div p a:hover {
text-decoration: underline;
color: white;
}
</style>
<link rel="stylesheet" href="{{ site.github.url }}/app/themes/coop-tech-oowp-theme/public/foundation-icons/foundation-icons.css">
<link rel="icon" type="image/x-icon" href="app/themes/coop-tech-oowp-theme/public/img/CoTech-logo.png">
<script type="text/javascript">
window.mapboxAccessToken = 'pk.eyJ1IjoiY290ZWNoIiwiYSI6ImNpemgxbzhwODAwMHMzM28zdXF3cGxyYmwifQ.9nPExuEUqwblCCl-6gyFXA';
</script>
</head>

View File

@ -1,33 +1,7 @@
<!doctype html>
<html lang="en-US">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="UTF-8">
<title>{{ page.title }} &laquo; Cooperative Technologists</title>
<link rel="canonical" href="{{ page.url | absolute_url }}" />
<link rel='stylesheet' id='oowp_css-css' href='{{ site.github.url }}/app/mu-plugins/oowp/oowp.css?ver=4.8' type='text/css' media='all' />
<link rel='stylesheet' id='app-css' href='{{ site.github.url }}/app/themes/coop-tech-oowp-theme/public/css/app.css?ver=4.8' type='text/css' media='all' />
<script type='text/javascript' src='{{ site.github.url }}/app/themes/coop-tech-oowp-theme/public/js/vendor.js?ver=4.8'></script>
<link rel="icon" href="{{ site.github.url }}/app/uploads/2017/02/cropped-cotech_512x512-32x32.png" sizes="32x32" />
<link rel="icon" href="{{ site.github.url }}/app/uploads/2017/02/cropped-cotech_512x512-192x192.png" sizes="192x192" />
<link rel="apple-touch-icon-precomposed" href="{{ site.github.url }}/app/uploads/2017/02/cropped-cotech_512x512-180x180.png" />
<meta name="msapplication-TileImage" content="{{ site.github.url }}/app/uploads/2017/02/cropped-cotech_512x512-270x270.png" />
<style type="text/css" id="wp-custom-css">
section#contact div.row div p a:active,
section#contact div.row div p a:focus,
section#contact div.row div p a:hover {
text-decoration: underline;
color: white;
}
</style>
<link rel="stylesheet" href="{{ site.github.url }}/app/themes/coop-tech-oowp-theme/public/foundation-icons/foundation-icons.css">
<link rel="icon" type="image/x-icon" href="app/themes/coop-tech-oowp-theme/public/img/CoTech-logo.png">
<script type="text/javascript">
window.mapboxAccessToken = 'pk.eyJ1IjoiY290ZWNoIiwiYSI6ImNpemgxbzhwODAwMHMzM28zdXF3cGxyYmwifQ.9nPExuEUqwblCCl-6gyFXA';
</script>
</head>
{% include head.html %}
<body>
@ -67,34 +41,7 @@
</div>
<footer>
<div class="footer-upper">
<div class="row">
<div class="small-12 columns">
<div class="menu-centered">
<ul class="menu">
<li><a href="about">About <span>&#xbb;</span></a></li>
<li><a href="join">Join <span>&#xbb;</span></a></li>
<li><a href="manifesto">Manifesto <span>&#xbb;</span></a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="footer-lower">
<div class="row">
<div class="small-12 columns">
<img src="{{ site.github.url }}/app/themes/coop-tech-oowp-theme/public/img/coop-logo.png" class="float-center" />
<p>Site developed by <a href="http://glowboxdesign.co.uk" target="_blank">Glowbox Design</a> &amp; <a href="http://outlandish.com" target="_blank">Outlandish</a>.</p>
<p>Source code available on <a href="https://github.com/cotech/website" target="_blank">GitHub</a>.</p>
<p>Hosted by <a href="https://www.webarchitects.co.uk" target="_blank">Webarchitects</a> for CoTech &#xa9;2017</p>
</div>
</div>
</div>
</footer>
{% include footer.html %}
<script type='text/javascript' src='{{ site.github.url }}/app/themes/coop-tech-oowp-theme/public/js/app.js?ver=4.8'></script>
<script type='text/javascript' src='{{ site.github.url }}/wp/wp-includes/js/wp-embed.min.js?ver=4.8'></script>