<footer class="footer">
  <div class="footer__inner">
    {{ if $.Site.Params.Copyright }}
      <div class="copyright copyright--user">
        <span>{{ $.Site.Params.Copyright | safeHTML }}</span>
    {{ else }}
      <div class="copyright">
        <span>© {{ now.Year }} Powered by <a href="https://gohugo.io">Hugo</a></span>
    {{ end }}
      </div>
  </div>
</footer>

{{ $menu := resources.Get "js/menu.js" | js.Build }}
{{ $prism := resources.Get "js/prism.js" | js.Build }}

{{ $bundle := slice $menu $prism | resources.Concat "bundle.js" | resources.Minify }}

<script type="text/javascript" src="{{ $bundle.RelPermalink }}"></script>

<!-- Banner JS if it enabled -->
{{ if .Site.Params.Banner }}
  {{ $banner := resources.Get "js/banner.js" | js.Build | resources.Minify }}

  <script type="text/javascript" src="{{ $banner.RelPermalink }}"></script>
{{ end }}

<!-- Extended footer section-->
{{ partial "extended_footer.html" . }}
