Added breadcrumbs, and UI for saving a local copy of a hard disk
This commit is contained in:
parent
477cdfe539
commit
aeea1440f0
32 changed files with 1311 additions and 1249 deletions
11
_includes/breadcrumbs.html
Normal file
11
_includes/breadcrumbs.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{% capture page_url_without_index_html %}{{ page.url | remove: "/index.html" | remove: "/404.html" }}{% endcapture %}
|
||||
{% assign splitted_url_parts = page_url_without_index_html | split: '/' %}
|
||||
{% capture forLoopMaxInt %}{{ splitted_url_parts.size | minus:1 }}{% endcapture %}
|
||||
{% for i in (1..forLoopMaxInt) %}
|
||||
{% capture url %}{{ url }}{{ splitted_url_parts[i] }}/{% endcapture %}
|
||||
{% capture path %}{{ path }}\<a href="/{{ url }}">{{ splitted_url_parts[i] | upcase }}</a>{% endcapture %}
|
||||
{% if splitted_url_parts[i] == "blog" %}
|
||||
{% break %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
<h4>Directory of C:\<a href="{{ site.baseurl }}/">PCJS.ORG</a>{{ path }}</h4>
|
||||
|
|
@ -24,5 +24,9 @@
|
|||
</nav>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="wrapper">
|
||||
{% include breadcrumbs.html %}
|
||||
</div>
|
||||
|
||||
</header>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{% comment %}
|
||||
|
||||
Used by pages like the one in /api/v1/dump/ to implement a client-side API.
|
||||
Used by pages like the one in /api/v1/dump/ to simulate a client-side API.
|
||||
|
||||
{% endcomment %}
|
||||
{% for script in page.scripts %}
|
||||
|
|
|
|||
Loading…
Reference in a new issue