Rakefire / jekyll-ical-tag

Pull ICS feed and provide a for-like loop of calendar events in jekyll's liquid tag
7 stars 6 forks source link

Implement `limit` for `ical` looping block tag. #9

Closed fabacab closed 4 years ago

fabacab commented 4 years ago

This brings the ical tag into greater parity with Jekyll's for Liquid block by providing limit attribute that works as one would expect. This can be combined with other attributes such as only_future in order to limit the number of events looped over in the block to only those events that are the first N events in the future.

rickychilcott commented 4 years ago

Hey @meitar This looks good! Do you mind also making a small change to the Readme to ensure it's documented?

fabacab commented 4 years ago

Hey @meitar This looks good! Do you mind also making a small change to the Readme to ensure it's documented?

Done in 3871b9ee115c958190582e321e838177dc1b15a3.

rickychilcott commented 4 years ago

Perfect. Thanks @meitar! Will publish new version