Removed (invisible) links section and put links in header

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

View file

@ -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 %}