pebblecode / pebblecode.github.io

Jekyll powered pebblecode.com site
5 stars 5 forks source link

Move scripts to footer to avoid duplication #58

Closed ggordan closed 8 years ago

ggordan commented 8 years ago

The footer include now has the following options: maps, extrascripts, lazyload and prettyprint.

So, if you would like to include maps on the page and need the google maps js, include the footer like so:

{% include footer.html maps=true %}

Also worth considering moving the custom lazyload to an extrascript since it's quite specific at the moment.