Skip to content

Commit c71ce3d

Browse files
authored
Fixed links to subsections in the Local Django Communities page (#1475)
1 parent 8845158 commit c71ce3d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

djangoproject/templates/aggregator/local-django-community.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,21 @@
88

99
<h2>Local Django Communities</h2>
1010

11-
{% if grouped_django_communities %}<h3>Table of contents<a class="plink" href="#table-of-contents"></a></h3>{% endif %}
11+
{% if grouped_django_communities %}<h3 id="table-of-contents">Table of contents<a class="plink" href="#table-of-contents"></a></h3>{% endif %}
1212
<ul>
1313
{% for local_django_community in grouped_django_communities %}
14-
<li><a href="#{{ local_django_community.grouper.title }}-meetups">{{ local_django_community.grouper.title }}</a></li>
14+
<li><a href="#{{ local_django_community.grouper.title | lower }}-meetups">{{ local_django_community.grouper.title }}</a></li>
1515
{% endfor %}
1616
</ul>
1717

1818

1919
{% for local_django_community in grouped_django_communities %}
20-
<div class="section">
20+
<div id="{{ local_django_community.grouper.title | lower }}-meetups" class="section">
2121
<h2>{{ local_django_community.grouper.title }} <a class="plink" href="#{{ local_django_community.grouper.title | lower }}-meetups"></a></h2>
2222
<ul>
2323
{% for django_community in local_django_community.list %}
2424
<li>
25-
<h3 id="{{ django_community.slug }}-team">{{ django_community.name }} <a class="plink" href="#{{ django_community.slug }}-meetup"></a></h3>
25+
<h3 id="{{ django_community.slug }}-meetup">{{ django_community.name }} <a class="plink" href="#{{ django_community.slug }}-meetup"></a></h3>
2626
<p class="meta">{{ django_community.city }}, {{ django_community.country }} &nbsp;
2727
{% if django_community.is_active %}
2828
Active

0 commit comments

Comments
 (0)