Use site.github.url prefix for asset URLs

As per these instructions [1].

[1]: http://jekyllrb.com/docs/github-pages/#project-page-url-structure
This commit is contained in:
James Mead 2017-06-28 17:33:16 +01:00
parent eac846ca16
commit f1709dfe11

View File

@ -8,19 +8,19 @@
<title>About &laquo; Cooperative Technologists</title>
<link rel="canonical" href="{{ page.url | absolute_url }}">
<link rel='dns-prefetch' href='//s.w.org' />
<link rel='stylesheet' id='oowp_css-css' href='/app/mu-plugins/oowp/oowp.css?ver=4.8' type='text/css' media='all' />
<link rel='stylesheet' id='app-css' href='/app/themes/coop-tech-oowp-theme/public/css/app.css?ver=4.8' type='text/css' media='all' />
<script type='text/javascript' src='/app/themes/coop-tech-oowp-theme/public/js/vendor.js?ver=4.8'></script>
<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='https://api.w.org/' href='https://www.coops.tech/wp-json/' />
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://www.coops.tech/wp/xmlrpc.php?rsd" />
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="https://www.coops.tech/wp/wp-includes/wlwmanifest.xml" />
<meta name="generator" content="WordPress 4.8" />
<link rel="alternate" type="application/json+oembed" href="https://www.coops.tech/wp-json/oembed/1.0/embed?url" />
<link rel="alternate" type="text/xml+oembed" href="https://www.coops.tech/wp-json/oembed/1.0/embed?url&#038;format=xml" />
<link rel="icon" href="/app/uploads/2017/02/cropped-cotech_512x512-32x32.png" sizes="32x32" />
<link rel="icon" href="/app/uploads/2017/02/cropped-cotech_512x512-192x192.png" sizes="192x192" />
<link rel="apple-touch-icon-precomposed" href="/app/uploads/2017/02/cropped-cotech_512x512-180x180.png" />
<meta name="msapplication-TileImage" content="/app/uploads/2017/02/cropped-cotech_512x512-270x270.png" />
<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,
@ -28,7 +28,7 @@ section#contact div.row div p a:hover {
text-decoration: underline;
color: white;
} </style>
<link rel="stylesheet" href="/app/themes/coop-tech-oowp-theme/public/foundation-icons/foundation-icons.css">
<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';
@ -47,7 +47,7 @@ section#contact div.row div p a:hover {
<div class="top-bar-title">
<strong>
<a id="logo" href="/">
<img src="/app/themes/coop-tech-oowp-theme/public/img/CoTech-logo.png">CoTech
<img src="{{ site.github.url }}/app/themes/coop-tech-oowp-theme/public/img/CoTech-logo.png">CoTech
</a>
</strong>
<a class="back" href="/">&#8592; Go Back</a>
@ -112,7 +112,7 @@ section#contact div.row div p a:hover {
<div class="footer-lower">
<div class="row">
<div class="small-12 columns">
<img src="/app/themes/coop-tech-oowp-theme/public/img/coop-logo.png" class="float-center" />
<img src="{{ site.github.url }}/app/themes/coop-tech-oowp-theme/public/img/coop-logo.png" class="float-center" />
<!-- TODO the CSS link colour needs fixing! -->
<!-- p>Site developed by <a href="http://www.glowboxdesign.co.uk/">Glowbox Designs</a> &amp;
<a href="http://outlandish.com/">Outlandish</a>, hosted by
@ -125,7 +125,7 @@ section#contact div.row div p a:hover {
</div>
</footer>
<script type='text/javascript' src='/app/themes/coop-tech-oowp-theme/public/js/app.js?ver=4.8'></script>
<script type='text/javascript' src='/wp/wp-includes/js/wp-embed.min.js?ver=4.8'></script>
<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>
</body>
</html>