35 lines
966 B
HTML
35 lines
966 B
HTML
---
|
|
layout: default
|
|
---
|
|
|
|
{% assign icon = page.icon-item %}
|
|
|
|
<div class="row justify-content-between">
|
|
<div class="col-9">
|
|
|
|
<h1>{{ page.title }} {% unless icon == nil %}{% include item.html item=icon %}{% endunless %}</h1>
|
|
|
|
<article>
|
|
{{ content }}
|
|
</article>
|
|
</div>
|
|
|
|
<div class="col-auto">
|
|
<div class="list-group">
|
|
<a href="/{{ page.mod }}/" class="list-group-item {% if page.type == 'mod' %}active{% else %}list-group-item-action{% endif %}">{{ page.mod-name }}</a>
|
|
|
|
{% assign sorted = site.articles | sort %}
|
|
{% for article in sorted %}
|
|
{% if article.mod == page.mod %}
|
|
<a href="{{ article.url }}" class="list-group-item {% if article.url == page.url %}active{% else %}list-group-item-action{% endif %}">
|
|
{% unless article.icon-item == nil %}
|
|
{% assign icon = article.icon-item %}
|
|
{% include item.html item=icon %}
|
|
{% endunless %}
|
|
{{ article.title }}
|
|
</a>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
</div> |