Skip to content

Commit 7a0622f

Browse files
gonukeMicahGale
authored andcommitted
add ID to project list titles for navigation
1 parent 26b9654 commit 7a0622f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

_layouts/project_list.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ <h1>{{ page.title | escape }}</h1>
2020
{% if area_projects.size > 0 %}
2121
<section>
2222
<hr>
23-
<h2>{{ area.title }}</h2>
23+
<h2 id="{{ area.code }}">{{ area.title }}</h2>
2424
<div class="container">
2525
{% for project in area_projects %}
2626
{% assign lead_pi = None %}
@@ -32,7 +32,7 @@ <h2>{{ area.title }}</h2>
3232
{% else %}
3333
{% assign cnerg_pi_code = project.lead_pi %}
3434
{% endif %}
35-
<div class="col-sm-12">
35+
<div class="col-sm-12" style="padding-top: 25px;">
3636
<span class="font-weight-bold">
3737
{% if project.project_url != null %}
3838
<a href="{{ project.project_url }}" target="_blank">{{ project.title }}</a>

0 commit comments

Comments
 (0)