5
0
mirror of https://git.coop/cotech/website.git synced 2024-11-21 14:23:06 +00:00

Extract Mapbox access token into config

This commit is contained in:
James Mead 2017-07-01 20:16:37 +01:00
parent 540417920d
commit da2d0dbda2
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
contact_email: contact@coops.tech
mapbox_access_token: pk.eyJ1IjoiY290ZWNoIiwiYSI6ImNpemgxbzhwODAwMHMzM28zdXF3cGxyYmwifQ.9nPExuEUqwblCCl-6gyFXA
collections:
coops:
output: true

View File

@ -20,6 +20,6 @@
<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="{{ site.github.url }}/app/themes/coop-tech-oowp-theme/public/img/CoTech-logo.png">
<script type="text/javascript">
window.mapboxAccessToken = 'pk.eyJ1IjoiY290ZWNoIiwiYSI6ImNpemgxbzhwODAwMHMzM28zdXF3cGxyYmwifQ.9nPExuEUqwblCCl-6gyFXA';
window.mapboxAccessToken = '{{ site.mapbox_access_token }}';
</script>
</head>