Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"ext-pdo": "*",
"ext-pdo_mysql": "*",
"ext-session": "*",
"ext-xmlwriter": "*",
Comment thread
thisismeonmounteverest marked this conversation as resolved.
"ext-xsl": "*",
"ext-zip": "*",
"amphp/http-client": "^5.2",
Expand Down
3 changes: 2 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

43 changes: 43 additions & 0 deletions config/sitemap.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Sitemap configuration
# Defines static routes and their priorities for the sitemap generator.
#
# Priority levels:
# 1.0 - Main pages (home, signup, login, etc.)
# 0.8 - Secondary pages (about sections, safety pages, etc.)
# 0.6 - Tertiary content (FAQ articles, newsletters, etc.)

sitemap:
# Static routes - URLs that don't require database lookup
static_routes:
- { path: '/', priority: 1.0 }
- { path: '/signup', priority: 1.0 }
- { path: '/about', priority: 1.0 }
- { path: '/terms', priority: 1.0 }
- { path: '/privacy', priority: 1.0 }
- { path: '/impressum', priority: 1.0 }
- { path: '/safety', priority: 1.0 }
- { path: '/volunteer', priority: 1.0 }
- { path: '/login', priority: 1.0 }
- { path: '/stats', priority: 1.0 }
- { path: '/about/faq', priority: 0.8 }
- { path: '/about/getactive', priority: 0.8 }
- { path: '/about/thepeople', priority: 0.8 }
- { path: '/about/credits', priority: 0.8 }
- { path: '/safety/basics', priority: 0.8 }
- { path: '/safety/whattodo', priority: 0.8 }
- { path: '/safety/team', priority: 0.8 }
- { path: '/safety/faq', priority: 0.8 }
- { path: '/safety/tips', priority: 0.8 }
- { path: '/about/statistics', priority: 0.8 }
- { path: '/about/commentguidelines', priority: 0.8 }
- { path: '/press-information', priority: 0.8 }
- { path: '/feedback', priority: 0.8 }

# Dynamic routes - URLs generated from database content
dynamic_routes:
faq_categories:
# FAQ categories from database
priority: 0.6
newsletters:
# Newsletter articles with language variants
priority: 0.6
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"gsap": "^3.15.0",
"imagesloaded": "^4.1.4",
"improved-yarn-audit": "^2.3.3",
"js-yaml": "4.3.1",
"intl-messageformat": "^10.7.18",
"jarallax": "^1.12.8",
"jquery-mousewheel": "^3.2.2",
Expand Down Expand Up @@ -95,7 +96,8 @@
"fast-uri": "^3.1.5",
"immutable": "^5.1.8",
"svgo": "^4.0.2",
"js-yaml": "^4.3.0",
"js-yaml": "4.3.1",
"nanoid": "^3.3.17",
"body-parser": "^1.20.6",
"minimatch": "^3.1.3",
"serialize-javascript": "^7.0.2",
Expand Down
Loading
Loading