Skip to content

Commit f482965

Browse files
authored
Merge pull request readthedocs#3206 from davidfischer/advertising-footer
Link to the advertising page from the footer
2 parents f68b285 + 1cf0cee commit f482965

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

readthedocs/templates/base.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@ <h4>{% trans "Read the Docs" %}</h4>
131131
<a href="https://docs.readthedocs.io/en/latest/contribute.html">{% trans "Contributing" %}</a>
132132
</li>
133133
<li>
134-
<a href="https://docs.readthedocs.io/en/latest/ethical-advertising.html">{% trans "Advertise with Us" %}</a>
134+
{% url "advertising" as advertising_url %}
135+
<a href="{{ advertising_url | default:'https://readthedocs.org/sustainability/advertising/' }}">{% trans "Advertise with Us" %}</a>
135136
</li>
136137
<li>
137138
<a href="https://readthedocs.com">{% trans "Commercial Support" %}</a>

0 commit comments

Comments
 (0)