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:
parent
540417920d
commit
da2d0dbda2
@ -1,4 +1,5 @@
|
||||
contact_email: contact@coops.tech
|
||||
mapbox_access_token: pk.eyJ1IjoiY290ZWNoIiwiYSI6ImNpemgxbzhwODAwMHMzM28zdXF3cGxyYmwifQ.9nPExuEUqwblCCl-6gyFXA
|
||||
collections:
|
||||
coops:
|
||||
output: true
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user