-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- complete steps 1 & 2 - review footer & head - separate toc from head
- Loading branch information
MelodieUZH
committed
May 23, 2019
1 parent
12275c2
commit 00a92c0
Showing
10 changed files
with
458 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"tag" : "1.1.2", | ||
"prev_commit_hash" : "2818ba3" | ||
"prev_commit_hash" : "12275c2" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
<p><span class="fs-3"> | ||
<p style="margin-left:auto; margin-right:auto; text-align:center;"><span class="fs-3"> | ||
{% for node in pages_list %} | ||
{% if node.parent == page.parent %} | ||
<a href="{{ node.url | absolute_url}}#steps_bottom" class="{% if node.url == page.url %}btn btn-green mr-4{% else %}btn mr-4{% endif %}">STEP {{ node.nav_order }}</a> | ||
{% assign prev_nav_order = page.nav_order | minus: 1 %} | ||
{% assign next_nav_order = page.nav_order | plus: 1 %} | ||
{% if node.nav_order == prev_nav_order %} | ||
<a href="{{ node.url | absolute_url}}#tutorials_steps" class="btn btn-green mr-4"><< PREVIOUS: {{ node.subtitle }}</a> | ||
{% elsif node.nav_order == next_nav_order %} | ||
<a href="{{ node.url | absolute_url}}#tutorials_steps" class="btn btn-green mr-4">NEXT: {{ node.subtitle }} >></a> | ||
{% endif %} | ||
{% endif %} | ||
{% endfor %} | ||
</span></p> | ||
|
||
--- | ||
|
||
<span id="steps_bottom"></span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{% assign pages_list = site.html_pages | sort:"nav_order" %} | ||
<ul> | ||
{% for node in pages_list %} | ||
{% if page.grand_parent %} | ||
{% if node.parent == page.parent %} | ||
<li> | ||
{% if node.url == page.url %} | ||
<strong>Step {{ node.nav_order }}: {{ node.subtitle }}</strong> | ||
{% else %} | ||
<a href="{{ node.url | absolute_url}}">Step {{ node.nav_order }}: {{ node.subtitle }}</a> | ||
{% endif %} | ||
</li> | ||
{% endif %} | ||
|
||
{% else %} | ||
{% if node.parent == page.url %} | ||
<li><a href="{{ node.url | absolute_url}}">Step {{ node.nav_order }}: {{ node.subtitle }}</a></li> | ||
{% endif %} | ||
{% endif %} | ||
{% endfor %} | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.