modal.html 570 B

123456789101112
  1. {% assign modal-id = include.modal-id | default: 'simple' %}
  2. {% assign size = include['size'] %}
  3. {% capture_global modals %}
  4. <div class="modal modal-blur fade" id="modal-{{ modal-id }}" tabindex="-1" role="dialog" aria-hidden="true">
  5. <div class="modal-dialog{% if size%} modal-{{ size }}{% endif %}{% unless include.top %} modal-dialog-centered{% endunless %}{% if include.scrollable %} modal-dialog-scrollable{% endif %}" role="document">
  6. <div class="modal-content">
  7. {% include parts/modals/{{ modal-id }}.html %}
  8. </div>
  9. </div>
  10. </div>
  11. {% endcapture_global %}