| @@ -19,15 +19,15 @@ def create_app(): | |||
| moment.init_app(app) | |||
| # blueprint for main parts of app | |||
| # blueprint for main parts of app (contents and frontmatter) | |||
| from .main import main as main_blueprint | |||
| app.register_blueprint(main_blueprint) | |||
| # blueprint for search parts of app | |||
| # blueprint for search parts of app (Section 1: Searching the archive) | |||
| from .search import search as search_blueprint | |||
| app.register_blueprint(search_blueprint) | |||
| # blueprint for interventions parts of app | |||
| # blueprint for interventions parts of app (Section 2: Search Interventions) | |||
| from .interventions import interventions as interventions_blueprint | |||
| app.register_blueprint(interventions_blueprint) | |||
| @@ -2,7 +2,7 @@ | |||
| # @creation_date: 2022-09-07 | |||
| # @license: The MIT License <https://opensource.org/licenses/MIT> | |||
| # @author: Simon Bowie <ad7588@coventry.ac.uk> | |||
| # @purpose: Main route for index and other pages in Section 1: Searching the archive | |||
| # @purpose: Main route for index and other miscellaneous pages | |||
| # @acknowledgements: | |||
| # https://www.digitalocean.com/community/tutorials/how-to-add-authentication-to-your-app-with-flask-login | |||
| @@ -2,7 +2,7 @@ | |||
| # @creation_date: 2022-09-07 | |||
| # @license: The MIT License <https://opensource.org/licenses/MIT> | |||
| # @author: Simon Bowie <ad7588@coventry.ac.uk> | |||
| # @purpose: search route for search | |||
| # @purpose: search route for Section 1: Searching the archive | |||
| # @acknowledgements: | |||
| # https://www.digitalocean.com/community/tutorials/how-to-add-authentication-to-your-app-with-flask-login | |||