Fixed links in pages not being clickable

This commit is contained in:
Anthony Lawn 2019-11-09 11:26:35 -06:00 committed by GitHub
parent 3f9b384f82
commit 55282f3c35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -73,6 +73,13 @@
{% for section in page.sections %} {% for section in page.sections %}
<div onClick="document.getElementById('{{ section }}').scrollIntoView({ behavior: 'smooth' });">{{ section }}</div> <div onClick="document.getElementById('{{ section }}').scrollIntoView({ behavior: 'smooth' });">{{ section }}</div>
{% endfor %} {% endfor %}
{% if page.links %}
{% for link in page.links %}
{% assign split = link | split: "|" %}
<a href="{{ split[1] }}">{{ split[0] }}</a>
{% endfor %}
{% endif %}
</div> </div>
</div> </div>