Add soviet union and fix nav indentation
Signed-off-by: HackerNCoder <hackerncoder@encryptionin.space>
This commit is contained in:
parent
eb5bbc9efe
commit
236c783e6d
3
content/soviet-union/contents.lr
Normal file
3
content/soviet-union/contents.lr
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
_model: bib
|
||||||
|
---
|
||||||
|
title: Soviet Union
|
|
@ -5,7 +5,7 @@
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
<h1>Comrades Library</h1>
|
<h1>Comrades Library</h1>
|
||||||
{% include 'nav.html' %}
|
{% include 'nav.html' %}
|
||||||
</header>
|
</header>
|
||||||
<div class="page">
|
<div class="page">
|
||||||
{% block body %}{% endblock %}
|
{% block body %}{% endblock %}
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
<nav>
|
<nav>
|
||||||
<ul class="nav navbar-nav">
|
<ul class="nav navbar-nav">
|
||||||
<li{% if this._path == '/' %} class="active"{% endif%}><a href="{{ '/'|url }}">Home</a></li>
|
<li{% if this._path == '/' %} class="active"{% endif%}><a href="{{ '/'|url }}">Home</a></li>
|
||||||
{% for href, title in [
|
{% for href, title in [
|
||||||
['/korea', 'Korea'],
|
['/korea', 'Korea'],
|
||||||
|
['/soviet-union', 'Soviet Union'],
|
||||||
] %}
|
] %}
|
||||||
<li{% if this.is_child_of(href) %} class="active"{% endif
|
<li{% if this.is_child_of(href) %} class="active"{% endif
|
||||||
%}><a href="{{ href|url }}">{{ title }}</a></li>
|
%}><a href="{{ href|url }}">{{ title }}</a></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
Loading…
Reference in a new issue