Oprava možnosti rošíření z indexu na page.html

master
Emil Miler 4 years ago
parent 60dcc006ad
commit 0195ee4a73

@ -10,12 +10,12 @@
</head>
<body>
<div id="header">
{% set current_section = get_section(path="_index.md") %}
<a href="{{ config.base_url }}">{{ config.title }}</a>
<span class="subtitle">{{ section.title }}</span>
<span class="subtitle">{{ current_section.title }}</span>
</div>
<div id="menu">
<ul>
{% set current_section = get_section(path="_index.md") %}
{% for s in current_section.subsections %}
{% set subsection = get_section(path=s) %}
<li {% if current_path == subsection.path %}class="active"{% endif %}>

@ -0,0 +1 @@
{% extends "index.html" %}