Base template

search
Emil Miler 3 years ago
parent adc19567e9
commit 69a41d28f4

@ -1,4 +1,5 @@
base_url = "https://it.pedf.cuni.cz"
title = "KITTV"
compile_sass = true
highlight_code = false

@ -0,0 +1,5 @@
+++
+++
Hello World!

@ -0,0 +1,18 @@
<!DOCTYPE html>
<html lang="cs">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
{%- block title -%}
{{ config.title }}
{%- endblock title -%}
</title>
<link rel="stylesheet" href="{{ get_url(path="main.css") | safe }}">
</head>
<body>
<main>
{% block content %}{% endblock content %}
</main>
</body>
</html>

@ -0,0 +1,5 @@
{% extends "base.html" %}
{% block content %}
{{ section.content | safe }}
{% endblock content %}
Loading…
Cancel
Save