Files
GeyserWebsite/_layouts/page.html
T
rtm516 09025ac3cb Re-write to cleanup all styles and such (#158)
* Rewrite and re-style the wiki

* Fix links

* Fix mobile width being wrong

* Make the anticheat warning pretty

* Fix root pages

* Fix code blocks and cleanup some other bits

* Fix search

* Fix android and iOS sidebar links
2023-06-04 19:29:37 +01:00

19 lines
710 B
HTML
Executable File

---
layout: default
---
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
{% assign crumbs = page.url | append: "/" | replace: '//', '/' | split: '/' %}
{% for crumb in crumbs offset: 1 %}
{% assign i = forloop.index | plus: 1 %}
{% if i == crumbs.size %}
<li class="breadcrumb-item active" aria-current="page">{{ page.title }}</li>
{% else %}
<li class="breadcrumb-item"><a href="{{ site.url }}{{ site.baseurl }}{% for crumb in crumbs limit: i %}{{ crumb | append: '/' }}{% endfor %}">{{ crumb | replace: '-', ' ' | capitalize }}</a></li>
{% endif %}
{% endfor %}
</ol>
</nav>
{{ content }}