Skip to content

Added Fellow call for applicant banner. #2092

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions djangoproject/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@

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

<section class="copy-banner">
<div class="container {% block header-classes %}{% endblock %}">
Expand Down
8 changes: 8 additions & 0 deletions djangoproject/templates/homepage.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@
{% block body_class %}homepage{% endblock %}
{% block layout_class %}column-container sidebar-right{% endblock %}

{% block banner %}
<section class="copy-banner" style="background: #44B78B; padding: 4px;">
<div class="container">
<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>
</div>
</section>
{% endblock %}

{% block header %}
<p>
<em>{% translate "Django makes it easier to build better web apps more quickly and with less code." %}</em>
Expand Down
10 changes: 9 additions & 1 deletion docs/templates/base_docs.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,15 @@
{% endblock %}

{% block header %}
<p><a href="{% block doc_url %}{% url 'homepage' %}{% endblock %}">{% trans 'Documentation' %}</a></p>
{% comment %}
<p><a href="{% block doc_url %}{% url 'homepage' %}{% endblock %}">{% trans 'Documentation' %}</a></p>
{% endcomment %}
<p>
<a href="{% block doc_url %}{% url 'homepage' %}{% endblock %}">{% trans 'Documentation' %}</a> &ndash;
<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>
{% search_form %}
{% endblock %}

Expand Down