Sha256: 822e671a616f512e611197f65364347a6c3f09b2c80acdaba69389ef709dad99

Contents?: true

Size: 1.01 KB

Versions: 1

Compression:

Stored size: 1.01 KB

Contents

<!-- 
    Include parameters are:
    - [type] Type of source: must match one .html in the card folder f.e image
    - [source] Source: can be a path to an image, pdf, video...
-->

{% if include.source != nil and include.source != "" %}

<div class="card">
    <div class="card-header" id="heading{{ include.type | capitalize }}">
        <h2 class="mb-0">
            <button class="btn btn-link btn-block text-left" type="button" data-toggle="collapse"
                data-target="#collapse{{ include.type | capitalize }}" aria-expanded="true"
                aria-controls="collapse{{ include.type | capitalize }}">
                {{ include.type | capitalize }}
            </button>
        </h2>
    </div>
    <div id="collapse{{ include.type | capitalize }}" class="collapse"
        aria-labelledby="heading{{ include.type | capitalize }}" data-parent="#accordionSources">
        <div class="card-body">
            {% include card/{{ include.type }}.html source=include.source %}
        </div>
    </div>
</div>

{% endif %}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
just-the-cards-0.2.6 _includes/card/accordion-option.html