rror_add_path -%}{%- assign err_img_path = '<br><br>%url%' -%} {%-endif-%}
    {% if site.data.conf.main.use_cdn_resources_if_available -%}
      <script src="https://cdnjs.cloudflare.com/ajax/libs/magnific-popup.js/1.1.0/jquery.magnific-popup.min.js"></script>
    {%- else %}
      <script src="{{ site.baseurl }}/assets/js/jquery.magnific-popup.min.js"></script>
    {%- endif %}
    <script>
      $('.imgViewer[data-no-image-viewer]').css("cursor", "unset");
      $(function () {
        $('.imgViewer:not(