diff options
Diffstat (limited to 'spec/frontend/static_site_editor/mock_data.js')
-rw-r--r-- | spec/frontend/static_site_editor/mock_data.js | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/spec/frontend/static_site_editor/mock_data.js b/spec/frontend/static_site_editor/mock_data.js index 371695e913e..422048a5f69 100644 --- a/spec/frontend/static_site_editor/mock_data.js +++ b/spec/frontend/static_site_editor/mock_data.js @@ -1,16 +1,17 @@ -export const sourceContent = ` ---- +export const sourceContentHeader = `--- layout: handbook-page-toc title: Handbook twitter_image: '/images/tweets/handbook-gitlab.png' ---- - -## On this page +---`; +export const sourceContentSpacing = ` +`; +export const sourceContentBody = `## On this page {:.no_toc .hidden-md .hidden-lg} - TOC {:toc .hidden-md .hidden-lg} `; +export const sourceContent = `${sourceContentHeader}${sourceContentSpacing}${sourceContentBody}`; export const sourceContentTitle = 'Handbook'; export const username = 'gitlabuser'; |