<feed xmlns='http://www.w3.org/2005/Atom'>
<title>djangoproject.com.git/djangoproject/templates/base.html, branch issue-1630</title>
<subtitle>djangoproject.com
</subtitle>
<id>http://cgit.adnoto.dev/djangoproject.com.git/atom?h=issue-1630</id>
<link rel='self' href='http://cgit.adnoto.dev/djangoproject.com.git/atom?h=issue-1630'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/djangoproject.com.git/'/>
<updated>2026-05-08T10:45:50Z</updated>
<entry>
<title>Add djade linter and format templates.</title>
<updated>2026-05-08T10:45:50Z</updated>
<author>
<name>Anshul Zilpe</name>
<email>anshulzilpe@gmail.com</email>
</author>
<published>2025-12-08T17:39:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/djangoproject.com.git/commit/?id=8cec44a35d8f38284f2ea52f2f338a7154d86afb'/>
<id>urn:sha1:8cec44a35d8f38284f2ea52f2f338a7154d86afb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Allowed creation of site-wide banners via the admin interface.</title>
<updated>2026-04-15T01:40:39Z</updated>
<author>
<name>Natalia</name>
<email>124304+nessita@users.noreply.github.com</email>
</author>
<published>2026-04-08T15:07:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/djangoproject.com.git/commit/?id=ab5429a66410966cebbce2616e216abf02f50b32'/>
<id>urn:sha1:ab5429a66410966cebbce2616e216abf02f50b32</id>
<content type='text'>
Fixes #1550.

A banner requires a title, and optionally HTML body and CTA label/URL.
A banner can be active or inactive, and only one can be active at a time.

Banners can be previewed from the admin via the "View on site" options
on a Banner's detail page.

This initial implementation is intentionally minimal to provide a robust
but flexible MVP, with the goal to gather feedback for future iterations.

Future improvements could include:

- Active since and until dates.
- Flexible CTA URL handling, such as URL names or local URLs.

Thanks to Sarahs for the reviews.
</content>
</entry>
<entry>
<title>Removed the donation banner to reach the 2025 fundraising goal.</title>
<updated>2025-12-31T15:45:38Z</updated>
<author>
<name>Sarah Boyce</name>
<email>42296566+sarahboyce@users.noreply.github.com</email>
</author>
<published>2025-12-31T15:40:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/djangoproject.com.git/commit/?id=0bc1fa42d6a6d8bfbffc6ce366a26e9b8ccb195f'/>
<id>urn:sha1:0bc1fa42d6a6d8bfbffc6ce366a26e9b8ccb195f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use CSS instead of JavaScript for floating warning</title>
<updated>2025-12-30T13:07:01Z</updated>
<author>
<name>Adam Zapletal</name>
<email>adamzap@gmail.com</email>
</author>
<published>2025-12-19T15:11:48Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/djangoproject.com.git/commit/?id=def173cb85ca30e6bd74ea30747d1c8171a79075'/>
<id>urn:sha1:def173cb85ca30e6bd74ea30747d1c8171a79075</id>
<content type='text'>
Some of the functionality of the floating warning on unsupported and
in-development documentation versions was implemented using JavaScript.
This is longer necessary if we use the following approach with modern
CSS:

Attach the warning element the top of the page with `position: sticky`.
This almost solves the problem, but we still have to scroll past header
elements when an internal page link is clicked. This is achieved with a
combination of the `:has` pseudo-class and the `scroll-margin-top`
property.

We apply `scroll-margin-top` to elements that can be scrolled to by
their `id` attribute. This is done with responsive breakpoints to get
appropriate spacing when the floating warning has one, two, or three
lines of text. Thanks to `:has`, this only happens when a warning
element is on the page.

The modern CSS features used are widely-supported:

- https://caniuse.com/css-has
- https://caniuse.com/css-sticky
- https://caniuse.com/mdn-css_properties_scroll-margin-top

Other than making the primary CSS changes and removing the related
JavaScript, this patch does the following:

- Simplify the CSS so that the class on all floating warning elements
  implements the common rules and the CSS for the IDs on the elements
  implements the colors
- Add a `z-index` to warning elements so that they always display in
  front of the header element
- Move the floating warning element to the top of the page in the HTML
  - Remove the `body_extra` block that was only being used by the
    floating warning element
  - Add a new `before_header` block for the floating warning element

Thank you to Baptiste Mispelon and Thibaud Colas for helping me arrive
at this solution.
</content>
</entry>
<entry>
<title>Created a DSF donate banner to encourage end of year donations.</title>
<updated>2025-12-18T06:46:01Z</updated>
<author>
<name>Sarah Boyce</name>
<email>42296566+sarahboyce@users.noreply.github.com</email>
</author>
<published>2025-12-17T17:52:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/djangoproject.com.git/commit/?id=4875296ff8d990e72594dd9065d9032af4c7bcad'/>
<id>urn:sha1:4875296ff8d990e72594dd9065d9032af4c7bcad</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Added a management command to generate roadmap SVG</title>
<updated>2025-12-04T08:07:44Z</updated>
<author>
<name>Bhargav</name>
<email>101399269+bhargav-j47@users.noreply.github.com</email>
</author>
<published>2025-12-04T08:07:44Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/djangoproject.com.git/commit/?id=75b47031e8c30a476933c301ac8eecad3befb631'/>
<id>urn:sha1:75b47031e8c30a476933c301ac8eecad3befb631</id>
<content type='text'>
---------

Co-authored-by: pre-commit-ci[bot] &lt;66853113+pre-commit-ci[bot]@users.noreply.github.com&gt;
Co-authored-by: Sarah Boyce &lt;42296566+sarahboyce@users.noreply.github.com&gt;
Co-authored-by: Baptiste Mispelon &lt;bmispelon@gmail.com&gt;</content>
</entry>
<entry>
<title>Removed PyCharm 2025 discount banner. (#2345)</title>
<updated>2025-11-20T20:30:17Z</updated>
<author>
<name>Sarah Boyce</name>
<email>42296566+sarahboyce@users.noreply.github.com</email>
</author>
<published>2025-11-20T20:30:17Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/djangoproject.com.git/commit/?id=438702c3a280d2cff17d6f278093318645ac9278'/>
<id>urn:sha1:438702c3a280d2cff17d6f278093318645ac9278</id>
<content type='text'>
</content>
</entry>
<entry>
<title>:pencil: Extend PyCharm discount end date to Nov 19</title>
<updated>2025-11-11T14:08:26Z</updated>
<author>
<name>Jeff Triplett</name>
<email>jeff.triplett@gmail.com</email>
</author>
<published>2025-11-10T16:11:22Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/djangoproject.com.git/commit/?id=52a144eb0fa1cbbc8a6224783f25be66efa1bef8'/>
<id>urn:sha1:52a144eb0fa1cbbc8a6224783f25be66efa1bef8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Used underlined class instead of u element.</title>
<updated>2025-10-30T04:42:51Z</updated>
<author>
<name>Tim Schilling</name>
<email>schillingt@better-simple.com</email>
</author>
<published>2025-10-29T19:02:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/djangoproject.com.git/commit/?id=d5e2d08bb10abbfb0770ccbdf27e621d7c46c711'/>
<id>urn:sha1:d5e2d08bb10abbfb0770ccbdf27e621d7c46c711</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add underline to PyCharm discount message</title>
<updated>2025-10-30T04:42:51Z</updated>
<author>
<name>Cory Zue</name>
<email>66555+czue@users.noreply.github.com</email>
</author>
<published>2025-10-29T14:13:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/djangoproject.com.git/commit/?id=eeed2d327c54f9b870fe23a449e547e5210b8604'/>
<id>urn:sha1:eeed2d327c54f9b870fe23a449e547e5210b8604</id>
<content type='text'>
(Also requested by Catherine)</content>
</entry>
</feed>
