Skip to content

Commit

Permalink
Get rid of the Newsletter page Link In contributing/community.md (#21816
Browse files Browse the repository at this point in the history
)

* Update community.md with EmailCaptureForm

* Delete newsletter.js

* Update redirects.yaml with newsletter link

* Removed hash from redirect.yaml
  • Loading branch information
saadpasta authored Mar 24, 2020
1 parent 1db5879 commit 561bd6a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 47 deletions.
2 changes: 1 addition & 1 deletion docs/contributing/community.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ The Gatsby community welcomes contributions. Please refer to the guides below on

Sign up for the Gatsby newsletter to keep up with the latest from the Gatsby community! Hear about new features, tips & tricks, and what people are building.

[Sign up here](/newsletter/)
<EmailCaptureForm signupMessage="Want to keep up with the latest tips &amp; tricks? Subscribe to our newsletter!" />

### Twitter

Expand Down
2 changes: 2 additions & 0 deletions www/redirects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@
toPath: /docs/data-fetching/
- fromPath: /docs/centralizing-your-sites-navigation/
toPath: /docs/creating-dynamic-navigation/
- fromPath: /newsletter/
toPath: /contributing/community/
# This redirects from a now removed stub that showed up in the first page of Google results.
# Can be removed if SEO is no longer impacted.
- fromPath: /docs/rendering-sidebar-navigation-dynamically/
Expand Down
46 changes: 0 additions & 46 deletions www/src/pages/newsletter.js

This file was deleted.

0 comments on commit 561bd6a

Please sign in to comment.