gjtorikian / jekyll-last-modified-at

A Jekyll plugin to show the last_modified_at time of a post.
MIT License
242 stars 38 forks source link

Trouble adding this to a jekyllbootstrap blog #18

Closed phun-ky closed 10 years ago

phun-ky commented 10 years ago

I've added the "gems" attribute like this in my _config.yml:

gems:
  - jekyll-last-modified-at

And added:

{% last_modified_at %}

To my post template (twitter/post.html)

But the page fails to build:

"The tag last_modified_at in _includes/themes/twitter/post.html is not a recognized Liquid tag."

How do I fix this? Should the gem be installed in some way?

parkr commented 10 years ago

You'll need to install the gem via gem install jekyll-last-modified-at or by adding it to your Gemfile.

Also make sure that safe is not set to true.