e -%}
    <script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v0.4.1/dist/bootstrap-toc.min.js"></script>
  {%- else %}
    <script src="{{ site.baseurl }}/assets/js/bootstrap-toc.min.js"></script>
  {%- endif %}
{%- endif %}

<script src="{{ site.baseurl }}/assets/js/main.js"></script>

{%- if site.data.conf.main.image_viewer == true -%}
  {%- if page.image_viewer_on == true or site.data.conf.main.image_viewer_posts == true and page.layout == 'post' -%}
    {%-if site.data.conf.main.image_viewer_e