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

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

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

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