5
0
mirror of https://git.coop/cotech/website.git synced 2024-11-25 08:03: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 contact_email: contact@coops.tech
mapbox_access_token: pk.eyJ1IjoiY290ZWNoIiwiYSI6ImNpemgxbzhwODAwMHMzM28zdXF3cGxyYmwifQ.9nPExuEUqwblCCl-6gyFXA
collections: collections:
coops: coops:
output: true 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="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"> <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"> <script type="text/javascript">
window.mapboxAccessToken = 'pk.eyJ1IjoiY290ZWNoIiwiYSI6ImNpemgxbzhwODAwMHMzM28zdXF3cGxyYmwifQ.9nPExuEUqwblCCl-6gyFXA'; window.mapboxAccessToken = '{{ site.mapbox_access_token }}';
</script> </script>
</head> </head>