inket / dokku-buildpack-jekyll4-nginx

Jekyll 4 on Dokku
MIT License
15 stars 34 forks source link

Serving index.htm and index.xml files #15

Closed khanlou closed 3 years ago

khanlou commented 3 years ago

I know this repo hasn't been updated in a while, but would you open to adding index.htm and index.xml files to the index directive of the erb template?

Change from

index index.html;

to

index index.html index.htm index.xml;

My jekyll site serves the xml feed at $SITE/feed and so it doesn't know to serve index.xml as the index of that directory.

Happy to open a PR if you're open to it.

inket commented 3 years ago

Sounds good! Please make a PR.