Fancybox update

Closes: #41
pull/42/head
Emil Miler 1 year ago
parent 8d7503ae6b
commit d6723fe8dc

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1,9 +1,5 @@
{% extends "base.html" %} {% extends "base.html" %}
{% block styles %}
<link rel="stylesheet" href="{{ get_url(path="fancybox/jquery.fancybox.min.css") }}">
{% endblock styles %}
{% block extra %} {% block extra %}
{{ macro::breadcrumbs(page=section) }} {{ macro::breadcrumbs(page=section) }}
{% endblock %} {% endblock %}
@ -20,8 +16,3 @@
</section> </section>
</main> </main>
{% endblock content %} {% endblock content %}
{% block javascript %}
<script src="{{ get_url(path="lib/jquery-3.6.0.min.js") }}"></script>
<script src="{{ get_url(path="fancybox/jquery.fancybox.min.js") }}"></script>
{% endblock %}

@ -1,7 +1,7 @@
{% extends "base.html" %} {% extends "base.html" %}
{% block styles %} {% block styles %}
<link rel="stylesheet" href="{{ get_url(path="fancybox/jquery.fancybox.min.css") }}"> <link rel="stylesheet" href="{{ get_url(path="fancybox/fancybox.css") }}">
{% endblock styles %} {% endblock styles %}
{% block extra %} {% block extra %}
@ -23,6 +23,6 @@
{% endblock content %} {% endblock content %}
{% block javascript %} {% block javascript %}
<script src="{{ get_url(path="lib/jquery-3.6.0.min.js") }}"></script> <script src="{{ get_url(path="fancybox/fancybox.js") }}"></script>
<script src="{{ get_url(path="fancybox/jquery.fancybox.min.js") }}"></script> <script>Fancybox.bind("[data-fancybox]", {});</script>
{% endblock %} {% endblock %}

Loading…
Cancel
Save