Skip to content

Commit 561bd6a

Browse files
authored
Get rid of the Newsletter page Link In contributing/community.md (#21816)
* Update community.md with EmailCaptureForm * Delete newsletter.js * Update redirects.yaml with newsletter link * Removed hash from redirect.yaml
1 parent 1db5879 commit 561bd6a

File tree

3 files changed

+3
-47
lines changed

3 files changed

+3
-47
lines changed

docs/contributing/community.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ The Gatsby community welcomes contributions. Please refer to the guides below on
3838

3939
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.
4040

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

4343
### Twitter
4444

www/redirects.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@
130130
toPath: /docs/data-fetching/
131131
- fromPath: /docs/centralizing-your-sites-navigation/
132132
toPath: /docs/creating-dynamic-navigation/
133+
- fromPath: /newsletter/
134+
toPath: /contributing/community/
133135
# This redirects from a now removed stub that showed up in the first page of Google results.
134136
# Can be removed if SEO is no longer impacted.
135137
- fromPath: /docs/rendering-sidebar-navigation-dynamically/

www/src/pages/newsletter.js

-46
This file was deleted.

0 commit comments

Comments
 (0)