-
- {% set image = resize_image(path=config.extra.portrait_path, height=500, op="fit_height") %}
-
-
-
-
+ {{ config.extra.self_introduction }}
-
+ {% set image = resize_image(path=config.extra.portrait_path, height=500, op="fit_height") %}
+
+
+
- {{ config.extra.self_introduction }}
- Unser Angebot
- Terminvereinbarung
+
{{ macros::btn(link=get_url(path='@/angebot/index.md') , text="User Angebot") }}
+
+ {{ macros::btn(link=get_url(path='@/termin/index.md') , text="Terminvereinbarung") }}
-
+
{% endblock %}
{% block scripts %}
diff --git a/templates/macros.html b/templates/macros.html
index c13e5e9..099a51e 100644
--- a/templates/macros.html
+++ b/templates/macros.html
@@ -1,4 +1,4 @@
{% macro btn(link, text) %}
- {{ text }}
{% endmacro %}
diff --git a/templates/macros/offers.html b/templates/macros/offers.html
index b6b83d8..f2882f9 100644
--- a/templates/macros/offers.html
+++ b/templates/macros/offers.html
@@ -1,15 +1,15 @@
{% macro offer(image_filename, name, description) %}
-
-
+
{% set dir = page.path | trim_start_matches(pat="/") %}
{% set image_path = dir ~ image_filename %}
{% set image = resize_image(path=image_path, width=400, height=400, op="fill") %}
+ class="mx-auto rounded shadow d-block img-fluid"/>
- {{ name }}
@@ -20,7 +20,7 @@ {% endmacro %} {% macro prices_table(caption, names, prices) %} -
+
{{ caption }}
diff --git a/templates/offers.html b/templates/offers.html
index 2d237ab..b813736 100644
--- a/templates/offers.html
+++ b/templates/offers.html
@@ -3,7 +3,7 @@
{% import "macros/offers.html" as offers_macros %}
{% block content %}
-
Massagen
+Massagen
{{ offers_macros::offer(image_filename="Rücken-_und_Nackenmassage.jpg", name="Rücken- und Nackenmassage mit Öl", @@ -38,7 +38,7 @@ prices=["27€", "47€", "67€", "82€"]) }} -Spezielle Massagen
+Spezielle Massagen
{{ offers_macros::offer(image_filename="Bambus-Massage.jpeg", name="Bambus-Massage", @@ -53,7 +53,7 @@ prices=["57€", "77€"]) }} -Fußpflege
+Fußpflege
{{ offers_macros::offer(image_filename="Medizinische_Fußpflege.jpg", name="Medizinische Fußpflege", @@ -68,12 +68,12 @@ names=["Fußnägel lackieren", "Maniküre"], prices=["10€", "20€"]) }} -
+
+
Terminvereinbarung
+ class="shadow btn btn-success grow-on-hover">Terminvereinbarung
-