Skip to content

Commit f8f344c

Browse files
committed
Make team headings anchors that expand the section if linked to
1 parent b6594e6 commit f8f344c

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

assets/js/main.js

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

careers.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ <h3 class="h2 mb-4">We divide and conquer in focused teams.</h3>
102102

103103
<div class="m-auto text-length-xl" data-aria-accordion data-multi data-transition data-default="none">
104104
{% for item in site.data.team-structure %}
105-
<h3 class="h5" data-aria-accordion-heading>{{ item.team }}</h3>
105+
<h3 id="team-{{ item.team | replace: ' ', '-' | downcase }}" class="h5" data-aria-accordion-heading>{{ item.team }}</h3>
106106
<div data-aria-accordion-panel>
107107
<p class="text-length-md">{{ item.description }}</p>
108108
</div>

0 commit comments

Comments
 (0)