Change attribute back to text
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
70ae7418f6
commit
594a87a711
4 changed files with 7 additions and 7 deletions
|
@ -2,7 +2,7 @@
|
|||
module.exports = {
|
||||
img: props.img || '',
|
||||
svg: props.svg || '',
|
||||
txt: props.txt || '',
|
||||
text: props.text || '',
|
||||
href: props.href || '/',
|
||||
onclick: props.onclick || '',
|
||||
titlestyle: 'min-width: 275px;' + (props.titlestyle || ''),
|
||||
|
@ -15,8 +15,8 @@
|
|||
<div class="figure">
|
||||
<slot:img></slot:img>
|
||||
</div>
|
||||
<if condition="txt != ''">
|
||||
<p style="font-size: 200px; text-align: center; margin: 0; padding: 0;">{{txt}}</p>
|
||||
<if condition="text != ''">
|
||||
<p style="font-size: 200px; text-align: center; margin: 0; padding: 0;">{{text}}</p>
|
||||
</if>
|
||||
<markdown>
|
||||
<slot:title />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue