Fixed links in pages not being clickable
This commit is contained in:
parent
3f9b384f82
commit
55282f3c35
1 changed files with 7 additions and 0 deletions
|
@ -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>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue