Mapping each X-File episode's location with Mapbox Gl JS and data from Mapping the X-Files by Jane Roberts.
Data for each episode is saved in _data/locations.yml
.
For single location episodes:
- season: # number
episode: # number
coordinates: # long,lat
title: # title
description: # 1-2 sentence synopsis
link: # link to Wikipedia episode
place: # city, state
fictitious: true # ONLY set if the place is fictitious
For multiple location episodes, create a list with the place
and coordinates
fields:
- season: # number
episode: # number
coordinates:
- # long,lat
- # long,lat
title: # title
description: # 1-2 sentence synopsis
link: # link to Wikipedia episode
place:
- # city, state
- # city, state
This site is built with Jekyll.
Run it locally:
bundle exec jekyll serve -w
Validate data:
npm install
npm test