This is a small group of html and css includes for Jekyll that lets you create a beautiful timeline. It doesn't have any dependencies or require any plugins so it works great with out-of-the box Jekyll on GitHub Pages. I've tested it on Jekyll 3.3.0
and I'm personally motivated to make sure it stays functional with the version GitHub uses.
This wasn't built to stagger overlapping timeframes, so it works best for use cases that are naturally non-overlapping, such as:
Minimal Configuration:
Five Columns:
Star Trek TV Series and Movies:
My Resume Timeline:
Share your examples with me by creating an issue with a link to how you've used this. I'd love to extend this to show some of the awesome things people have created.
You can run this repo locally to explore the examples and play around with the options.
To run this project, start it like you would any Jekyll site. eg:
bundle exec jekyll serve -w
It runs in a subfolder to match the deployment location. You can open the page at:
http://localhost:4000/jekyll-timeline/
To use this project on your own site, follow these steps.
Create a Jekyll Site (skip this if you already have one):
Get these two files () and put them in your site's _includes
folder.
Grab jekyll-timeline.css and include a link tag to it.
Use the timeline on your page:
{% include jekyll-timeline.html startYear=2010 # This is a date near the oldest event you are interested in showing. The timeline always runs up until now timelineHeight=600 # Adjust this height until it fits your events comfortably col1Title="Minimal Example" col1Events=page.exampleEvents %}
-webkit-print-color-adjust
)webkit2png http://simple.gy/jekyll-timeline/five-col/ --width=1000 --clipwidth=250 --clipheight=150