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

jekyll 3.2.1 | Error: Liquid syntax error (line 56): Unknown tag 'last_modified_at' #45

Closed juanpabloaj closed 4 years ago

juanpabloaj commented 7 years ago

When I run

jekyll serve

I get this message

jekyll 3.2.1 | Error:  Liquid syntax error (line 56): Unknown tag 'last_modified_at'

I installed jekyll-last-modified-at with

gem install jekyll-last-modified-at
zx1986 commented 7 years ago

Did you try add gem 'jekyll-last-modified-at' to a Gemfile in the same directory, then bundle ?

source 'https://rubygems.org'

gem 'jekyll'
gem 'jekyll-last-modified-at'

Then:

bundle install
bundle exec jekyll server
Messjer commented 6 years ago

I put group: :jekyll_plugins in Gemfile and it works for me.

#Gemfile
gem "jekyll-last-modified-at", group: :jekyll_plugins
gjtorikian commented 4 years ago

README has been updated with this info, sorry for the trouble.