From 298b2a2f084763b6e42ccec46e7e966779b7d8d3 Mon Sep 17 00:00:00 2001 From: Johan Ronsse Date: Thu, 5 Nov 2020 12:36:36 +0100 Subject: [PATCH] Fixes #307 --- .../_components/aov-typography/typography.pug | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/content/templates/_components/aov-typography/typography.pug b/content/templates/_components/aov-typography/typography.pug index 05d83cab..2e9b544a 100755 --- a/content/templates/_components/aov-typography/typography.pug +++ b/content/templates/_components/aov-typography/typography.pug @@ -1,12 +1,12 @@ - var shortContent = 'Lorem ipsum dolor sit amet'; - var longContent = 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. '.repeat(5).trim() - var samples = []; -- samples.push({name: 'Content heading 1', code: '

' + shortContent + '

', extraClass: contentClass}) -- samples.push({name: 'Content heading 2',code: '

' + shortContent + '

', extraClass: contentClass}) -- samples.push({name: 'Content heading 3', code: '

' + shortContent + '

', extraClass: contentClass}) -- samples.push({name: 'Content heading 4', code: '

' + shortContent + '

', extraClass: contentClass}) -- samples.push({name: 'Content heading text', code: '

' + longContent + '

', extraClass: contentClass}) -- samples.push({name: 'Blockquote', code: '
' + longContent + '
', extraClass: contentClass}) +- samples.push({name: 'Content heading 1', code: '

' + shortContent + '

'}) +- samples.push({name: 'Content heading 2',code: '

' + shortContent + '

'}) +- samples.push({name: 'Content heading 3', code: '

' + shortContent + '

'}) +- samples.push({name: 'Content heading 4', code: '

' + shortContent + '

'}) +- samples.push({name: 'Content heading text', code: '

' + longContent + '

'}) +- samples.push({name: 'Blockquote', code: '
' + longContent + '
'}) table each sample in samples