Skip to content

Commit 3433db1

Browse files
sarahboyceSaptakS
authored andcommitted
Added Fellow call for applicant banner.
1 parent bf76e71 commit 3433db1

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

djangoproject/templates/base.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949

5050
<a href="#main-content" class="skip-link">Skip to main content</a>
5151
{% include "includes/header.html" %}
52+
{% block banner %}{% endblock %}
5253

5354
<section class="copy-banner">
5455
<div class="container {% block header-classes %}{% endblock %}">

djangoproject/templates/homepage.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@
55
{% block body_class %}homepage{% endblock %}
66
{% block layout_class %}column-container sidebar-right{% endblock %}
77

8+
{% block banner %}
9+
<section class="copy-banner" style="background: #44B78B; padding: 4px;">
10+
<div class="container">
11+
<p><a href="https://www.djangoproject.com/weblog/2025/jun/09/django-fellow-applicants-2025/">DSF calls for applicants for a Django Fellow, deadline July 1!</a></p>
12+
</div>
13+
</section>
14+
{% endblock %}
15+
816
{% block header %}
917
<p>
1018
<em>{% translate "Django makes it easier to build better web apps more quickly and with less code." %}</em>

docs/templates/base_docs.html

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,15 @@
1010
{% endblock %}
1111

1212
{% block header %}
13-
<p><a href="{% block doc_url %}{% url 'homepage' %}{% endblock %}">{% trans 'Documentation' %}</a></p>
13+
{% comment %}
14+
<p><a href="{% block doc_url %}{% url 'homepage' %}{% endblock %}">{% trans 'Documentation' %}</a></p>
15+
{% endcomment %}
16+
<p>
17+
<a href="{% block doc_url %}{% url 'homepage' %}{% endblock %}">{% trans 'Documentation' %}</a> &ndash;
18+
<a href="https://www.djangoproject.com/weblog/2025/jun/09/django-fellow-applicants-2025/">
19+
DSF calls for applicants for a Django Fellow, deadline July 1!
20+
</a>
21+
</p>
1422
{% search_form %}
1523
{% endblock %}
1624

0 commit comments

Comments
 (0)