From 14a1cd9169ffd071aca65f275d7756aa6680aa34 Mon Sep 17 00:00:00 2001 From: todd gureckis Date: Wed, 7 Aug 2024 09:27:57 -0400 Subject: [PATCH] fix: updating slide-top (this really needs to move into theme) --- slide-top.vue | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/slide-top.vue b/slide-top.vue index 87cedaa..ee9bc76 100644 --- a/slide-top.vue +++ b/slide-top.vue @@ -106,7 +106,7 @@ function checkvars() { } } - if ($frontmatter.layout == 'cover') { + if ($frontmatter.layout == 'cover' || $frontmatter.layout == 'section') { process_top_left_colors($frontmatter.color) } } else if ($frontmatter.layout == 'end') { @@ -138,7 +138,7 @@ function checkvars() { } } - if ($frontmatter.layout == 'cover') { + if ($frontmatter.layout == 'cover' || $frontmatter.layout == 'section') { process_top_right_colors($frontmatter.color) } } else if ($frontmatter.layout == 'end') { @@ -152,9 +152,10 @@ onMounted(() => checkvars())