Ical file

Hi all. I’m new to Grav and this is my first post here. I want to have Grav serve up ical (.ics) files. I’ve read some of the doc but can’t get it to work.

I followed the example on how to serve up JSON - basically using a different template *.json.twig - described here: https://learn.getgrav.org/content/content-types

The JSON example works fine, so I thought it might be a simple matter to create a *.ics.twig template but when I tried that, I got the dreaded 404 (Woops. Looks like this page doesn’t exist) error.

So, I’m not sure what else I need to do to be able to have Grav serve .ics files. Can anyone help?

Does anyone have a working example they would be prepared to share?

Thanks for your help!


OK, so I checked existing posts and found one from last year that solved my problem for me. I should have done that first but I’m up and running now.

Thank you.