You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.4 KiB
HTML
47 lines
1.4 KiB
HTML
<!DOCTYPE HTML>
|
|
<html lang="cs">
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>{% block title %}{{ config.title }}{% endblock title %}</title>
|
|
<link rel="stylesheet" href="/style.css" type="text/css">
|
|
<link rel="icon" href="favicon.ico" type="image/x-icon">
|
|
</head>
|
|
<body>
|
|
<div id="header">
|
|
{% set current_section = get_section(path="_index.md") %}
|
|
<a href="{{ config.base_url }}">{{ config.title }}</a>
|
|
<span class="subtitle">{% block subtitle %}{{ current_section.title }}{% endblock %}</span>
|
|
</div>
|
|
<div id="menu">
|
|
<ul>
|
|
{% block menu %}
|
|
{% for s in current_section.subsections %}
|
|
{% set subsection = get_section(path=s) %}
|
|
<li {% if current_path == subsection.path %}class="active"{% endif %}>
|
|
<a href="{{ subsection.permalink }}">{{ subsection.title }}</a>
|
|
</li>
|
|
{% endfor %}
|
|
{% endblock %}
|
|
</ul>
|
|
</div>
|
|
<div id="content">
|
|
<div id="nav">
|
|
{% block nav %}
|
|
{% if section.pages %}
|
|
<ul>
|
|
{% for post in section.pages %}
|
|
<li><a href="{{ post.permalink }}">{{ post.title }}</a></li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
{% endblock %}
|
|
</div>
|
|
<div id="main">
|
|
{% block content%}{% endblock %}
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|