From 3c922f37723eb31766db36d5830ec87f058469cd Mon Sep 17 00:00:00 2001 From: L3D Date: Sun, 9 Jan 2022 19:49:01 +0100 Subject: [PATCH] first page --- configs/scss.ini | 6 ++++++ content/contents.lr | 7 +++++++ templates/page.html | 10 ++++++---- 3 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 configs/scss.ini create mode 100644 content/contents.lr diff --git a/configs/scss.ini b/configs/scss.ini new file mode 100644 index 0000000..bfb57cf --- /dev/null +++ b/configs/scss.ini @@ -0,0 +1,6 @@ +source_dir = assets/scss/ +output_dir = assets/css/ +output_style = compressed +source_comments = false +precision = 5 +name_prefix = .min diff --git a/content/contents.lr b/content/contents.lr new file mode 100644 index 0000000..7cf811e --- /dev/null +++ b/content/contents.lr @@ -0,0 +1,7 @@ +title: Winkekatze TV +--- +_model: start +--- +body: Hello World +--- +image: /images/winkekatze.svg diff --git a/templates/page.html b/templates/page.html index 0430577..8c74d09 100644 --- a/templates/page.html +++ b/templates/page.html @@ -1,6 +1,8 @@ -{% extends "layout.html" %} -{% block title %}{{ this.title }}{% endblock %} -{% block body %} +{%- extends "layout.html" -%} +{%- block title -%} + {{- this.title -}} +{%- endblock -%} +{%- block body -%}

{{ this.title }}

{{ this.body }} -{% endblock %} +{%- endblock -%}