getnikola / nikola

A static website and blog generator
https://getnikola.com/
MIT License
2.62k stars 451 forks source link

Add data file to dependency file #3609

Closed everlanes closed 2 years ago

everlanes commented 2 years ago

When using a data attribute for loading external data from a file, this data file is added to the dependency file. Changing the content of the data file now triggers a rebuild of the pages and posts which are including it.

Signed-off-by: Andreas Brinner andreas@everlanes.net

Pull Request Checklist

Description

I tested with my own site and confirmed that the dependencies were added correctly.

Kwpolska commented 2 years ago

Thanks for contributing this fix!