Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bonita
bonita-documentation-theme
Commits
4e5bc51c
Commit
4e5bc51c
authored
Feb 02, 2022
by
Adrien
Browse files
feat(custom message): add a generic way to add a custom message in pages
parent
b8e5a740
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/partials/article.hbs
View file @
4e5bc51c
...
...
@@ -24,12 +24,18 @@
{{#if
page
.
attributes
.
next-release
}}
<div
class=
"paragraph next-release-block"
>
<p>
This content is dedicated to our next version.
It is work in progress: its content will evolve until the new version is released.
Before that time, it cannot be considered as official.
It is work in progress: its content will evolve until the new version is released.
Before that time, it cannot be considered as official.
</p>
</div>
{{/if}}
{{#if
page
.
attributes
.
custom-message
}}
<div
class=
"paragraph next-release-block"
>
<p>
{{
page
.
attributes
.
custom-message
}}
</p>
</div>
{{/if}}
{{#
with
page
.
title
}}
<h1
class=
"page"
>
{{{
this
}}}
</h1>
{{/
with
}}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment