Closed phun-ky closed 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."
last_modified_at
_includes/themes/twitter/post.html
How do I fix this? Should the gem be installed in some way?
You'll need to install the gem via gem install jekyll-last-modified-at or by adding it to your Gemfile.
gem install jekyll-last-modified-at
Also make sure that safe is not set to true.
safe
true
I've added the "gems" attribute like this in my _config.yml:
And added:
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?