From c4b29bb2167e66df1b37b6d1264a2d2ce0bee5af Mon Sep 17 00:00:00 2001 From: L3D Date: Thu, 23 Dec 2021 23:49:35 +0100 Subject: [PATCH] cleanup style and links --- assets/scss/main.scss | 21 --------------------- templates/zutaten/rezept_from_index.html | 5 ++++- 2 files changed, 4 insertions(+), 22 deletions(-) diff --git a/assets/scss/main.scss b/assets/scss/main.scss index 4ac32e1..c1c2e6e 100644 --- a/assets/scss/main.scss +++ b/assets/scss/main.scss @@ -326,27 +326,6 @@ header { z-index: 5; } -.bg_box__unicorns { - grid-row: 2 / span 5; - grid-column: 1 / span 5; - background-image: url("../images/background_waffle.svg"); - background-position: top 5% left 95%; - background-size: auto 80%; - background-repeat: no-repeat; - z-index: 10; -} - -.slim_box__unicorns { - grid-row: 1 / span 2; - grid-column: 1 / span 5; - background-image: url("../images/translucent_unicorns.svg"); - background-position: top 1rem left 95%; - background-size: auto 115%; - background-repeat: no-repeat; - z-index: 10; - margin-bottom: -6em; -} - .bg_box__big_bg { grid-row: 3 / span 2; grid-column: 1 / span 5; diff --git a/templates/zutaten/rezept_from_index.html b/templates/zutaten/rezept_from_index.html index 9423888..8e8913b 100644 --- a/templates/zutaten/rezept_from_index.html +++ b/templates/zutaten/rezept_from_index.html @@ -14,11 +14,14 @@ {{- '\n ' -}}
{{- '\n ' -}}

+ {%- if child.recipe_name and child.recipe_name != "" -%} {{ child.recipe_name }}

{%- else -%} - {{ child.title }} + {{ child.title }} {%- endif -%} + + {%- if child.servings is defined and child.servings != "" -%} {%- if child.servings.blocks != [] -%}