

from bedrock.mozorg.util import page

urlpatterns = (
    page("", "stories/landing.html"),
    page("art-of-engagement/", "stories/articles/art-of-engagement.html"),
    page("build-together/", "stories/articles/build-together.html"),
    page("community-champion/", "stories/articles/community-champion.html"),
)



from bedrock.mozorg.util import page
from bedrock.redirects.util import redirect

urlpatterns = (
    page("", "stories/landing.html"),
    page("art-of-engagement/", "stories/articles/art-of-engagement.html"),
    page("build-together/", "stories/articles/build-together.html"),
    page("community-champion/", "stories/articles/community-champion.html"),
    # REMOVE WHEN REAL PAGE GOES LIVE
    redirect(r"^joy-of-color/?$", "https://blog.mozilla.org/en/products/firefox/firefox-news/independent-voices/", permanent=False),
)

Add temporary redirect for stories URL
Add temporary redirect for stories URL

  
  
  from bedrock.mozorg.util import page
+ from bedrock.redirects.util import redirect
  
  urlpatterns = (
      page("", "stories/landing.html"),
      page("art-of-engagement/", "stories/articles/art-of-engagement.html"),
      page("build-together/", "stories/articles/build-together.html"),
      page("community-champion/", "stories/articles/community-champion.html"),
+     # REMOVE WHEN REAL PAGE GOES LIVE
+     redirect(r"^joy-of-color/?$", "https://blog.mozilla.org/en/products/firefox/firefox-news/independent-voices/", permanent=False),
  )
  
Add temporary redirect for stories URL
## Code Before:


from bedrock.mozorg.util import page

urlpatterns = (
    page("", "stories/landing.html"),
    page("art-of-engagement/", "stories/articles/art-of-engagement.html"),
    page("build-together/", "stories/articles/build-together.html"),
    page("community-champion/", "stories/articles/community-champion.html"),
)

## Instruction:
Add temporary redirect for stories URL
## Code After:


from bedrock.mozorg.util import page
from bedrock.redirects.util import redirect

urlpatterns = (
    page("", "stories/landing.html"),
    page("art-of-engagement/", "stories/articles/art-of-engagement.html"),
    page("build-together/", "stories/articles/build-together.html"),
    page("community-champion/", "stories/articles/community-champion.html"),
    # REMOVE WHEN REAL PAGE GOES LIVE
    redirect(r"^joy-of-color/?$", "https://blog.mozilla.org/en/products/firefox/firefox-news/independent-voices/", permanent=False),
)
