update landing page
Signed-off-by: Christopher Guindon <chris.guindon@eclipse-foundation.org>
diff --git a/content/en_index.php b/content/en_index.php
index c14d7b4..1b34d6b 100644
--- a/content/en_index.php
+++ b/content/en_index.php
@@ -38,15 +38,14 @@
<div class="row">
<div class="col-md-18 col-md-offset-3 donate-container">
<div class="donate-container-content">
- <?php if ($picked_layout === 'layout_a'): ?>
+ <?php if (empty($picked_layout) || $picked_layout === 'layout_a'): ?>
<h1>
Power the <strong class="orange">Eclipse Community</strong> <br>with your donation
</h1>
<p>If you value Eclipse technologies, please consider making a donation. Contributions
from users like you help fund the operations of the Eclipse Foundation. All money
donated to the Eclipse Foundation will be used to support the Eclipse Community.</p>
- <?php endif; ?>
- <?php if ($picked_layout === 'layout_b'): ?>
+ <?php else: ?>
<p>Eclipse technologies are 100% free and open source and used by millions of developers
every day. Here are three easy ways you can contribute toward the future development of
Eclipse projects and technologies.</p>
@@ -83,7 +82,7 @@
donating?</a></li>
<li><a class="grey-link" href="/donate/faq.php">Donation FAQ</a></li>
</ul>
- <?php if ($picked_layout === 'layout_b'): ?>
+ <?php if (!empty($$picked_layout) && $picked_layout === 'layout_b'): ?>
<h2>Get involved</h2>
<p>Whether you choose to report bugs, request features, or become a committer, you can
help improve the technology for yourself and the rest of the community. Find out more