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
e6719d6a
Commit
e6719d6a
authored
Jul 31, 2019
by
Hanna Schraffenberger
Browse files
Test custom FAQ block
parent
1cde2f49
Changes
3
Hide whitespace changes
Inline
Side-by-side
_includes/block-faq-1.html
0 → 100644
View file @
e6719d6a
<section
class=
"block block-faq-1"
>
<div
class=
"container"
>
<div
class=
"columns"
>
<div
class=
"column"
>
{% for faq_item in section.faq_items %}
<li
class=
"faq-item"
>
{{ faq_item.answer }}
</li>
{% endfor %}
</div>
</div>
</div>
</section>
\ No newline at end of file
css/irma.css
View file @
e6719d6a
...
...
@@ -25,7 +25,7 @@ header {
/* Double call to action */
.button.primary.inverted
{
padd
in
g
-right
:
10px
marg
in-right
:
10px
}
/* Overwriting colors */
...
...
index.md
View file @
e6719d6a
...
...
@@ -49,6 +49,15 @@ page_sections:
media
:
image
:
"
/uploads/2018/06/21/blocks-split.png"
alt_text
:
uBuild Blocks Mock-Up
-
template
:
faqs
block
:
faq-1
faq_items
:
-
question
:
"
/"
answer
:
Home
-
question
:
"
/"
answer
:
Hello
-
question
:
"
/"
answer
:
World
-
template
:
content-feature
block
:
feature-1
media_alignment
:
Right
...
...
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