c7bf94460f
well it's almost the same version |
||
---|---|---|
_includes | ||
_layouts | ||
_posts | ||
_sass | ||
assets | ||
lib | ||
.gitignore | ||
404.html | ||
README.md | ||
_config.yml | ||
about.md | ||
apple-touch-icon-57x57.png | ||
apple-touch-icon-60x60.png | ||
apple-touch-icon-72x72.png | ||
apple-touch-icon-76x76.png | ||
apple-touch-icon-114x114.png | ||
apple-touch-icon-120x120.png | ||
apple-touch-icon-144x144.png | ||
apple-touch-icon-152x152.png | ||
apple-touch-icon-180x180.png | ||
apple-touch-icon-precomposed.png | ||
apple-touch-icon.png | ||
browserconfig.xml | ||
committee.html | ||
favicon-16x16.png | ||
favicon-32x32.png | ||
favicon-96x96.png | ||
favicon-160x160.png | ||
favicon-192x192.png | ||
favicon.ico | ||
humans.txt | ||
index.html | ||
main.scss | ||
mstile-70x70.png | ||
mstile-144x144.png | ||
mstile-150x150.png | ||
mstile-310x150.png | ||
mstile-310x310.png | ||
projects.html | ||
robots.txt | ||
scroll.js |
README.md
bristol-seds.github.io/pico-tracker
Available at http://bristol-seds.github.io/pico-tracker.
Running the server for local testing
You need Jekyll installed:
$ sudo gem install jekyll RedCloth
Start Jekyll:
$ jekyll serve --watch
Note that changes to _config.yml
may require restarting the server.
#Items from the main site, may not work here:
Adding photo carousels
First put all photos in the asset_path
directory for a post. Then list all in the front-matter like so:
photos:
- url: photo1.jpg
- url: photo2.jpg
- url: photo3.jpg
Then simply add {% raw %}{% include carousel.html %}
{% raw %} where you want the carousel.
Adding Javascript to posts
Make sure your post has an asset_path
key-value pair.
Google Maps
Add a new key, maps:
, with a list of url:
key-value pairs as its value, each having
a script containing a Google Maps generator as its value, e.g.:
maps:
- url: map1.js
- url: map2.js
The scripts should be placed in the asset_path
directory.
For each map, insert a <div>
tag into the post, with a unique ID referenced by the map generator script.
TO-DO: Google Maps KML files must be hosted publicly. Find a way to automatically insert the KML file's fully-qualified url into a map script. Currently I'm just hosting them from http://samhatfield.co.uk