@@ -106,7 +106,7 @@ function checkvars() {
106
106
}
107
107
}
108
108
109
- if ($frontmatter.layout == 'cover') {
109
+ if ($frontmatter.layout == 'cover' || $frontmatter.layout == 'section' ) {
110
110
process_top_left_colors($frontmatter.color)
111
111
}
112
112
} else if ($frontmatter.layout == 'end') {
@@ -138,7 +138,7 @@ function checkvars() {
138
138
}
139
139
}
140
140
141
- if ($frontmatter.layout == 'cover') {
141
+ if ($frontmatter.layout == 'cover' || $frontmatter.layout == 'section' ) {
142
142
process_top_right_colors($frontmatter.color)
143
143
}
144
144
} else if ($frontmatter.layout == 'end') {
@@ -152,9 +152,10 @@ onMounted(() => checkvars())
152
152
<template>
153
153
<div
154
154
v-if="
155
- ($slidev.nav.currentLayout == 'cover' && $frontmatter.brand_tl !== false) ||
156
- ($slidev.nav.currentLayout == 'intro' && $frontmatter.brand_tl !== false) ||
157
- ($slidev.nav.currentLayout == 'end' && $frontmatter.brand_tl !== false) ||
155
+ ($frontmatter.layout == 'cover' && $frontmatter.brand_tl !== false) ||
156
+ ($frontmatter.layout == 'section' && $frontmatter.brand_tl !== false) ||
157
+ ($frontmatter.layout == 'intro' && $frontmatter.brand_tl !== false) ||
158
+ ($frontmatter.layout == 'end' && $frontmatter.brand_tl !== false) ||
158
159
$frontmatter.brand_tl == true ||
159
160
$frontmatter.brand_tl == 'auto_true'
160
161
"
@@ -167,12 +168,12 @@ onMounted(() => checkvars())
167
168
v-if="
168
169
$frontmatter.brand_tr == true ||
169
170
($frontmatter.brand_tr == 'auto_true' &&
170
- $frontmatter.currentLayout != 'image' &&
171
- $frontmatter.currentLayout != 'image-right' &&
172
- $frontmatter.currentLayout != 'iframe-right' &&
173
- $frontmatter.currentLayout != 'iframe' &&
174
- $frontmatter.currentLayout != 'top-title' &&
175
- $frontmatter.currentLayout != 'top-title-twocols ')
171
+ $frontmatter.layout != 'image' &&
172
+ $frontmatter.layout != 'image-right' &&
173
+ $frontmatter.layout != 'iframe-right' &&
174
+ $frontmatter.layout != 'iframe' &&
175
+ $frontmatter.layout != 'top-title' &&
176
+ $frontmatter.layout != 'top-title-two-cols ')
176
177
"
177
178
class="absolute top-3 right-2 p-3 pr-3 border.b-1 z-10 font-size-3 font-mono width-full text-right"
178
179
:class="brand_tr_color"
0 commit comments