Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Netlify: Add https://mixxx.org/donate redirect #238

Merged
merged 2 commits into from
May 7, 2021
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
3 changes: 3 additions & 0 deletions content/_redirects
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,8 @@ https://www.mixxx.org/* https://mixxx.org/:splat 301!
/wiki/* https://github.com/mixxxdj/mixxx/wiki 301!
/wiki https://github.com/mixxxdj/mixxx/wiki 301!

# Redirect to donation page
/donate https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QSFMYWN2B3JD2 302!

# Error page
/* /error/ 404
2 changes: 1 addition & 1 deletion content/news/2020-05-22-you-dont-need-to-pay-for-mixxx.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Over the past few years there have been multiple instances of sellers that distr
While it's not illegal to do this per se, we are not affiliated with these sellers and neither earn money from this nor endorse this in any way.
Instead, you can download the latest version of Mixxx from the [download page on our website]({filename}/pages/download.md) for free.

If you want to support Mixxx financially, consider [donating](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QSFMYWN2B3JD2&source=url) - we'll appreciate it!
If you want to support Mixxx financially, consider [donating](https://mixxx.org/donate) - we'll appreciate it!


### Mixxx was, is and always will be free
Expand Down
2 changes: 1 addition & 1 deletion theme/templates/donate_paypal.html
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<!-- PayPal Donate Button -->
<a class="button button-secondary button-secondary-highlight" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=QSFMYWN2B3JD2&amp;source=url" title="{% trans %}Donate via Paypal{% endtrans %}">{% trans %}Donate{% endtrans %}</a>
<a class="button button-secondary button-secondary-highlight" href="{{ SITEURL }}/donate" title="{% trans %}Donate via Paypal{% endtrans %}">{% trans %}Donate{% endtrans %}</a>