micromodal := resources.Get "js/micromodal.min.js" | resources.Fingerprint }}
<script defer src="{{ $micromodal.RelPermalink }}"></script>
{{ $fadeinout := resources.Get "js/helper/fadeinout.js" | resources.Minify }}
<script defer src="{{ $fadeinout.RelPermalink }}"></script>

<script>
document.addEventListener('DOMContentLoaded', function () {
  // ============================ gallery ============================
  /* Get the documentElement (<html>) to display the page in fullscreen */
  var docElem = doc