Skip to content

Commit 29ccaab

Browse files
fix: mktg urls from the configuration
1 parent 485d883 commit 29ccaab

2 files changed

Lines changed: 8 additions & 12 deletions

File tree

configuration_files/lms.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ ELASTIC_SEARCH_CONFIG:
303303
- host: edx.devstack.elasticsearch
304304
port: 9200
305305
use_ssl: false
306-
ENABLE_MKTG_SITE: true
306+
ENABLE_MKTG_SITE: true
307307
EMAIL_BACKEND: django.core.mail.backends.smtp.EmailBackend
308308
EMAIL_HOST: localhost
309309
EMAIL_HOST_PASSWORD: ''
@@ -425,8 +425,10 @@ MKTG_URLS:
425425
ROOT: http://localhost:18000
426426
ABOUT: /about
427427
CONTACT: /contact
428-
FAQ: /help
429-
COURSES: /course
428+
COURSES: /courses
429+
BLOG: /blog
430+
DONATE: /donate
431+
TOS_AND_HONOR: /tos
430432
TOS: /edx-terms-service
431433
HONOR: /honor
432434
PRIVACY: /privacy

py_configuration_files/lms.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -429,27 +429,21 @@ def should_show_debug_toolbar(request): # lint-amnesty, pylint: disable=missing
429429

430430
MKTG_URLS = {
431431
'ABOUT': '/about',
432-
'ACCESSIBILITY': '/accessibility',
433432
'AFFILIATES': '/affiliate-program',
434433
'BLOG': '/blog',
435-
'CAREERS': '/careers',
436434
'CONTACT': '/support/contact_us',
437-
'COURSES': '/course',
435+
'COURSES': '/courses',
438436
'DONATE': '/donate',
439-
'ENTERPRISE': '/enterprise',
440437
'FAQ': '/student-faq',
441438
'HONOR': '/edx-terms-service',
442439
'HOW_IT_WORKS': '/how-it-works',
443-
'MEDIA_KIT': '/media-kit',
444-
'NEWS': '/news-announcements',
445440
'PRESS': '/press',
446-
'PRIVACY': '/edx-privacy-policy',
441+
'PRIVACY': '/privacy',
447442
'ROOT': MARKETING_SITE_ROOT,
448443
'SCHOOLS': '/schools-partners',
449-
'SITE_MAP': '/sitemap',
450444
'TRADEMARKS': '/trademarks',
451445
'TOS': '/edx-terms-service',
452-
'TOS_AND_HONOR': '/edx-terms-service',
446+
'TOS_AND_HONOR': '/tos',
453447
'WHAT_IS_VERIFIED_CERT': '/verified-certificate',
454448
'PROGRAM_SUBSCRIPTIONS': '/program-subscriptions',
455449
}

0 commit comments

Comments
 (0)