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())