Add SEO data generation and testing for bilingual pages
- Implemented SEO data structures for programmatic tool and collection pages. - Created functions to build FAQs and content sections for SEO pages. - Added tests to ensure at least 50 bilingual SEO pages are generated, no duplicate English slugs, and matching Arabic localized paths. - Verified that both tool and collection SEO inventories are populated adequately.
This commit is contained in:
@@ -159,6 +159,7 @@ def create_app(config_name=None):
|
||||
from app.routes.pdf_extra import pdf_extra_bp
|
||||
from app.routes.image_extra import image_extra_bp
|
||||
from app.routes.barcode import barcode_bp
|
||||
from app.routes.sitemap import sitemap_bp
|
||||
|
||||
app.register_blueprint(health_bp, url_prefix="/api")
|
||||
app.register_blueprint(auth_bp, url_prefix="/api/auth")
|
||||
@@ -192,5 +193,6 @@ def create_app(config_name=None):
|
||||
app.register_blueprint(pdf_extra_bp, url_prefix="/api/pdf-tools")
|
||||
app.register_blueprint(image_extra_bp, url_prefix="/api/image")
|
||||
app.register_blueprint(barcode_bp, url_prefix="/api/barcode")
|
||||
app.register_blueprint(sitemap_bp)
|
||||
|
||||
return app
|
||||
|
||||
Reference in New Issue
Block a user