django / djangoproject.com

Source code to djangoproject.com
https://www.djangoproject.com/
BSD 3-Clause "New" or "Revised" License
1.86k stars 939 forks source link

Simplify header text in community pages #1563

Open bmispelon opened 3 days ago

bmispelon commented 3 days ago

Currently the header in the community pages looks like this:

Screenshot 2024-06-27 at 14-10-10 Django Community Django

The text "Building the Django Community for 18 years, 11 months. Come join us!" is a bit too detailed, and based on a comment in the code, it seems like it was intended to be shorter: https://github.com/django/djangoproject.com/blob/f03f53f36fec9d61ca085a278a9deb1a60e9cfe6/aggregator/context_processors.py#L14

Ideally, the text should read "for 18 years", which would be done by using timesince(..., depth=1) as the comment linked above mentions. A test would also be needed (in the aggregator/tests.py file).

This could be a good first-time contribution, anyone should feel free to try and send a PR.

rawasaditya commented 3 days ago

I would like to do this please assign this issue to me Thanks

bmispelon commented 3 days ago

I would like to do this please assign this issue to me Thanks

Done ✅

For future reference, you don't need to be assigned to an issue to work on it. You can simply leave a comment on the ticket, that's enough to inform people that you're working on it, and to avoid two people working on the same ticket at the same time.