Skip to content

Commit

Permalink
Merge pull request #2178 from wilzbach/fix-18379
Browse files Browse the repository at this point in the history
Fix Issue 18379 - [404 Not Found] Foundation Donate page not found
merged-on-behalf-of: Vladimir Panteleev <github@thecybershadow.net>
  • Loading branch information
dlang-bot committed Feb 6, 2018
2 parents 88cda4f + 566a89e commit cad41c0
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .htaccess
Expand Up @@ -65,6 +65,7 @@ Redirect 301 /foundation.html https://dlang.org/foundation/about.html
Redirect 301 /contributors.html https://dlang.org/foundation/contributors.html
Redirect 301 /sponsors.html https://dlang.org/foundation/sponsors.html
Redirect 301 /dlangupb-scholarship.html https://dlang.org/foundation/updscholarship.html
Redirect 301 /donate.html https://dlang.org/foundation/donate.html

# Error pages
ErrorDocument 404 /404.html
4 changes: 2 additions & 2 deletions foundation/about.dd
Expand Up @@ -8,7 +8,7 @@ $(H4 The D Language Foundation is a
)

<p class="center">
<a href="$(ROOT_DIR)donate.html" class="btn donate-large">Donate</a>
<a href="$(ROOT_DIR)foundation/donate.html" class="btn donate-large">Donate</a>
</p>

$(H3 History)
Expand Down Expand Up @@ -56,7 +56,7 @@ $(P There are many ways to help the D programming language to grow further and
$(LINK2 https://wiki.dlang.org/Get_involved, get involved).)

$(P If you don't have the time to work on the source code,
you can also $(LINK2 $(ROOT_DIR)donate.html, donate) to the D Language Foundation.)
you can also $(LINK2 $(ROOT_DIR)foundation/donate.html, donate) to the D Language Foundation.)

$(H3 The D Language Foundation is a non-profit organization)

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion foundation/sponsors.dd
Expand Up @@ -16,7 +16,7 @@ members of the community keep the wheels rolling through their generous contribu
)

$(P On this page, we recognize some of those who have made monetary donations to the D Language Foundation.
Each $(LINK2 donate.html, donation), big and small, enables us to keep working toward our goals. The
Each $(LINK2 $(ROOT_DIR)foundation/donate.html, donation), big and small, enables us to keep working toward our goals. The
list is ordered by total donation amount, descending, and is far from exhaustive. If you have donated to
the D Language Foundation and want to see your name in the list, please let us know at
$(LINK2 mailto:social@dlang.org, social@dlang.org).
Expand Down
4 changes: 2 additions & 2 deletions posix.mak
Expand Up @@ -354,7 +354,7 @@ MAN_PAGE=docs/man/man1/dmd.1
PAGES_ROOT=$(SPEC_ROOT) 404 acknowledgements areas-of-d-usage \
articles ascii-table bugstats builtin \
$(CHANGELOG_FILES) code_coverage community comparison concepts \
const-faq cppcontracts cpptod ctarguments ctod donate \
const-faq cppcontracts cpptod ctarguments ctod \
D1toD2 d-array-article d-floating-point deprecate dll-linux dmd \
dmd-freebsd dmd-linux dmd-osx dmd-windows documentation download dstyle \
exception-safe faq forum-template gpg_keys glossary \
Expand All @@ -363,7 +363,7 @@ PAGES_ROOT=$(SPEC_ROOT) 404 acknowledgements areas-of-d-usage \
orgs-using-d overview pretod rationale rdmd regular-expression resources safed \
search template-comparison templates-revisited tuple \
variadic-function-templates warnings wc windbg \
$(addprefix foundation/, index about sponsors upb-scholarship)
$(addprefix foundation/, index about donate sponsors upb-scholarship)

# The contributors listing is dynamically generated
ifneq (1,$(DIFFABLE))
Expand Down

0 comments on commit cad41c0

Please sign in to comment.