Commit graph

11 commits

Author SHA1 Message Date
fe8e3ed621 Remove FIXME 2024-05-13 18:07:56 +10:00
f94d5a1de5 Eliminate base_standard.html template and internalNavigate blocks
The base_standard.html template was an unnecessary level of template
inheritance.

Also removed unused `min` and `subtract` template tags.
2024-05-13 17:11:01 +10:00
4d6e2460d7 Remove remaining jQuery
This avoids every page on the site parsing 250KB of JavaScript.

supporter-page.js isn't the most elegant code, but at least it's a little more
modular now and no longer user jQuery.
2024-05-09 22:15:33 +10:00
7d6a3fa13b Defer JavaScript loading
This avoids waiting for the JS to download before rendering the page.
2024-03-22 10:39:06 +11:00
a112ecd0ed Load images via staticfiles 2024-02-27 10:19:38 +11:00
03ce063e23 Load favicon via staticfiles 2024-02-27 09:50:07 +11:00
324eab9191 Similarly load CSS via Django staticfiles app 2024-02-27 09:34:11 +11:00
8feb03ba69 Load JS through Django's staticfiles app
This avoids the need for adjustments during development and allows production to
be served under a single /static declaration in Apache.
2024-02-27 09:25:05 +11:00
00a49ec2bc Display donation bar, noting it's results, for 1 week after end
The fundgoal section is now always included, but an if statement now
wraps the entire (partial) file, which will only generate any content
if it's not more than  one week after the fundraiser has ended.

Add an else that indicates these are results if it is past the end of
the fundraiser.
2024-01-16 06:07:33 -08:00
f086cecedf change footer from twitter to X 2023-11-21 15:03:08 -08:00
49ab5aafb4 Rename "www" directory to "conservancy" 2023-10-25 13:01:21 +11:00
Renamed from www/templates/base_conservancy.html (Browse further)