Removed (invisible) links section and put links in header
This commit is contained in:
parent
4299cb6217
commit
3f9b384f82
1 changed files with 7 additions and 11 deletions
|
@ -49,6 +49,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>
|
||||||
<div class="head">
|
<div class="head">
|
||||||
|
@ -69,17 +76,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if page.links %}
|
|
||||||
<div class="card">
|
|
||||||
<div class="card-action">
|
|
||||||
{% for link in page.links %}
|
|
||||||
{% assign split = link | split: "|" %}
|
|
||||||
<a href="{{ split[1] }}">{{ split[0] }}</a>
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if page.cards %}
|
{% if page.cards %}
|
||||||
{% for card in page.cards %}
|
{% for card in page.cards %}
|
||||||
{% for page in site.content %}
|
{% for page in site.content %}
|
||||||
|
|
Loading…
Reference in a new issue