File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22 < div class ="container sidebar-sticky ">
33 < div class ="sidebar-about ">
44 < div class ="sidebar-logo ">
5- < img src ="{{ site.baseurl }}public/logo.png " alt ="{{ site.title }} " style ="width: 100px; height: 100px; border-radius: 50%; margin-bottom: 15px; ">
5+ < img src ="{{ site.baseurl }}/ public/logo.png " alt ="{{ site.title }} " style ="width: 100px; height: 100px; border-radius: 50%; margin-bottom: 15px; ">
66 </ div >
77 < h1 >
8- < a href ="/ ">
8+ < a href ="{{ site.baseurl }} / ">
99 {{ site.title }}
1010 </ a >
1111 </ h1 >
1212 < p class ="lead "> {{ site.description }}</ p >
1313 </ div >
1414
1515 < nav class ="sidebar-nav ">
16- < a class ="sidebar-nav-item{% if page.url == '/' %} active{% endif %} " href ="/ "> Home</ a >
17-
18- {% comment %}
19- The code below dynamically generates a sidebar nav of pages with
20- `layout: page` in the front-matter. See readme for usage.
21- {% endcomment %}
22-
23- {% assign pages_list = site.pages %}
24- {% for node in pages_list %}
25- {% if node.title != null %}
26- {% if node.layout == "page" %}
27- < a class ="sidebar-nav-item{% if page.url == node.url %} active{% endif %} " href ="{{ node.url }} "> {{ node.title }}</ a >
28- {% endif %}
29- {% endif %}
30- {% endfor %}
31-
16+ < a class ="sidebar-nav-item{% if page.url == '/' %} active{% endif %} " href ="{{ site.baseurl }}/ "> Home</ a >
17+ < a class ="sidebar-nav-item{% if page.url == '/publications/' %} active{% endif %} " href ="{{ site.baseurl }}/publications/ "> Publications</ a >
18+ < a class ="sidebar-nav-item{% if page.url == '/research/' %} active{% endif %} " href ="{{ site.baseurl }}/research/ "> Research</ a >
3219 </ nav >
3320
3421 < p > © {{ site.time | date: '%Y' }}. All rights reserved.</ p >
You can’t perform that action at this time.
0 commit comments