Check if config fixes base url

This commit is contained in:
lukasmartinelli 2016-08-06 18:58:55 +02:00
parent 5fd7c23a6f
commit add05ae53f
2 changed files with 11 additions and 1 deletions

10
_config.yml Normal file
View File

@ -0,0 +1,10 @@
# Site settings
title: OSM Liberty
email: me@lukasmartinelli.ch
description: > # this means to ignore newlines until "baseurl:"
A free Mapbox GL basemap based on open data sets
baseurl: "" # the subpath of your site, e.g. /blog/
url: "http://osm-liberty.luaksmartinelli.ch" # the base hostname & protocol for your site
# Build settings
markdown: kramdown

View File

@ -21,7 +21,7 @@
container: 'map', container: 'map',
style: 'http://osm-liberty.lukasmartinelli.ch/osm-liberty.json', style: 'http://osm-liberty.lukasmartinelli.ch/osm-liberty.json',
center: [8.538961,47.372476], center: [8.538961,47.372476],
zoom: 8, zoom: 5,
hash: true hash: true
}); });
map.addControl(new mapboxgl.Navigation()); map.addControl(new mapboxgl.Navigation());