general03 / flask-autoindex

Generates index page like mod_autoindex
https://flask-autoindex.readthedocs.io
MIT License
112 stars 35 forks source link

Make title of page editable #64

Open exciteabletom opened 2 years ago

exciteabletom commented 2 years ago

This change puts the <title> element in it's own block so it can be changed by users.

Something as subjective as the page title should not be hardcoded into the template IMO.

I created a new block instead of reusing the meta block to avoid breaking the title on templates created prior to this change.