Compare commits

..

8 commits

Author SHA1 Message Date
5445cb86a4 Split title 2026-01-14 14:50:51 -08:00
23425bc7c7 Capitalize start of sentence; expand breadth of link 2026-01-14 14:50:08 -08:00
d38fa0955e Fix “Year in Review” to now be “2025 in Review” 2026-01-14 14:49:24 -08:00
f09847283b Close <a> tag. 2026-01-14 14:47:51 -08:00
2e760344f6 Rework copy to make this a bit shorter. 2026-01-14 14:43:32 -08:00
2cd8df0d92 Numbers should *not* be hard-coded in this file.
It is difficult to do math in a template (see the `intcomma` thing),
but we shouldn't hardcode numbers in the template.
2026-01-14 14:33:02 -08:00
f2c2b86892 update frontpage for match extension 2026-01-14 14:32:31 -08:00
cf5bd77c56 Support two fundraising bars for a stretch match
Long ago, when the bar was all Javascript, we had the ability to have
sub-targets in a single bar.  I was not able to invest the time
necessary to figure out how to do that again using the newer setup
for the fundraising bar, so instead I've added the ability to have a
stretch match bar that appears above the other one once the first
match period ends.

While it handles most of the weird cases with some grace, it will
probably look weird unless you set up a `SITE_FUNDGOAL_0` as a match
that finishes at least a week or two before `SITE_FUNDGOAL_1`.

The two aren't really aware of each other, either, so you have to
make sure the objects are updated properly (i.e., it *will* display
the stretch when `SITE_FUNDGOAL_0` ends even if there are match funds
remaining in `SITE_FUNDGOAL_0`).

A better solution should be found and implemented before 2026-11-22.
If you're actually reading this commit message for a reason other
than historical interest and that date has past, you're probably in
big trouble right now. 😬
2026-01-14 14:16:44 -08:00
3 changed files with 10 additions and 9 deletions

View file

@ -70,11 +70,11 @@
{% if sitefundgoal0.days_remaining == 0 %} {# IF LEVEL 0.1.3.0.0 testing options for sitefundgoal0.days_remaining #} {% if sitefundgoal0.days_remaining == 0 %} {# IF LEVEL 0.1.3.0.0 testing options for sitefundgoal0.days_remaining #}
For <strong>only</strong> the next {{ sitefundgoal0.hours_remaining }} hour{{ sitefundgoal0.hours_remaining|pluralize }}, the For <strong>only</strong> the next {{ sitefundgoal0.hours_remaining }} hour{{ sitefundgoal0.hours_remaining|pluralize }}, the
{% elif sitefundgoal0.days_remaining == 1 %} {# ELSIF LEVEL 0.1.3.0.0 testing options for sitefundgoal0.days_remaining #} {% elif sitefundgoal0.days_remaining == 1 %} {# ELSIF LEVEL 0.1.3.0.0 testing options for sitefundgoal0.days_remaining #}
Help us reach our goal of <b>$503,878</b> this season to keep SFC going. Through tomorrow only, the Help us reach our goal this season to keep SFC going. Through tomorrow only, the
{% elif sitefundgoal0.days_remaining < 14 %} {# ELSIF LEVEL 0.1.3.0.0 testing options for sitefundgoal0.days_remaining #} {% elif sitefundgoal0.days_remaining < 14 %} {# ELSIF LEVEL 0.1.3.0.0 testing options for sitefundgoal0.days_remaining #}
Help us reach our goal of <b>$503,878</b> this season to keep SFC going. For only {{ sitefundgoal0.days_remaining }} more days, the Help us reach our goal this season to keep SFC going. For only {{ sitefundgoal0.days_remaining }} more days, the
{% else %} {# ELSE LEVEL 0.1.3.0.0 testing options for sitefundgoal0.days_remaining #} {% else %} {# ELSE LEVEL 0.1.3.0.0 testing options for sitefundgoal0.days_remaining #}
Help us reach our goal of <b>$503,878</b> this season to keep SFC going. Until January 15, the Help us reach our goal this season to keep SFC going. Until January 15, the
{% endif %} {# ENDIF LEVEL 0.1.3.0.0 testing options for sitefundgoal0.days_remaining #} {% endif %} {# ENDIF LEVEL 0.1.3.0.0 testing options for sitefundgoal0.days_remaining #}
next <b>${{ sitefundgoal0.match_remaining|floatformat:0|intcomma }}</b> of <a href="/sustainer/">support we receive</a> will be matched! next <b>${{ sitefundgoal0.match_remaining|floatformat:0|intcomma }}</b> of <a href="/sustainer/">support we receive</a> will be matched!
{% endif %} {# ENDIF LEVEL 0.1.3.0 testing if sitefundgoal0.match_remaining has anything left #} {% endif %} {# ENDIF LEVEL 0.1.3.0 testing if sitefundgoal0.match_remaining has anything left #}

View file

@ -171,8 +171,6 @@
<a href="https://youtu.be/yCCxMfW0LTM">(watch on Youtube)</a> <a href="https://youtu.be/yCCxMfW0LTM">(watch on Youtube)</a>
</video> </video>
Year In Review 2025
<h3>The wide range of work we engage in is supported by people like you.</h3> <h3>The wide range of work we engage in is supported by people like you.</h3>

View file

@ -36,10 +36,13 @@ initiatives that actively make technology more inclusive, and advancing policy
strategies that defend FOSS (such as copyleft). <a href="/about" class="orange">Learn more.</a></p> strategies that defend FOSS (such as copyleft). <a href="/about" class="orange">Learn more.</a></p>
</section> </section>
<section class="w-30-ns mh2 pa3 bg-light-blue ba b--gray"> <section class="w-30-ns mh2 pa3 bg-light-blue ba b--gray">
<h2 class="f4 ttu">Match pledge increase!</h2> <h2 class="f4 ttu">Match Pledge<br/> Stretch Goal!</h2>
<p>SFC's match pledge has just been increased to <b>$251,939</b>! <p>Thanks to our dedicated donors, we raised <strong>$423,854</strong> so far!
If you <a href="https://sfconservancy.org/sustainer/">renew your Sustainership</a> or <a href="https://sfconservancy.org/donate/">donate</a> before January 15th, your contribution will be doubled! <a href="https://sfconservancy.org/news/2026/jan/14/match-challenge-extended-by-40012/">Two
Read more in our <a href="https://sfconservancy.org/sustainer/#YearInReview">Year in Review</a>.</p> anonymous donors pledged</a> <strong>an additional match of $40,012</strong>
through 2026-02-05. <a href="https://sfconservancy.org/sustainer/">Donate <em>now</em></a>
to <em>double</em> your contribution!
Read about our work in <a href="https://sfconservancy.org/sustainer/#YearInReview">2025 in Review&hellip;</a></p>
</section> </section>
</div> </div>