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
IRMA
Github mirrors
irma-website
Commits
8aea9a5d
Commit
8aea9a5d
authored
Jul 31, 2019
by
Hanna Schraffenberger
Browse files
improve custrom FAQ block
parent
6fef5135
Changes
2
Hide whitespace changes
Inline
Side-by-side
_includes/block-faq-1.html
View file @
8aea9a5d
...
...
@@ -3,7 +3,10 @@
<div
class=
"columns"
>
<div
class=
"column"
>
{% for faq_item in section.faq_items %}
<li
class=
"faq-item"
>
{{ faq_item.answer }}
</li>
<button
class=
"collapsible"
>
{{ faq_item.question }}
</button>
<div
class=
"content faq-item"
>
<p>
{{ faq_item.answer }}
</p>
</div>
{% endfor %}
</div>
</div>
...
...
index.md
View file @
8aea9a5d
...
...
@@ -42,11 +42,11 @@ page_sections:
-
template
:
faqs
block
:
faq-1
faq_items
:
-
question
:
"
/"
-
question
:
How do I
answer
:
Home
-
question
:
"
/"
-
question
:
Can you
answer
:
Hello
-
question
:
"
/"
-
question
:
Why is the PIN only 5 digits long?
answer
:
World
-
template
:
content-feature
block
:
feature-1
...
...
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