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
This commit is contained in:
rtm516 authored and GitHub committed 2023-06-04 19:29:37 +01:00
1 parent 17e1be5177
commit 09025ac3cb
93 files changed
+595 -3676

No files matched your search

+14 -3
View File
@@ -1,7 +1,18 @@
---
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 }}
{% include toc.html %}
{% include permalinks.html %}
{% include tags.html %}