Sha256: d85865ddfc25acc5b6a85af0ea7d65436bfc9eb006213446513333594de1ed4f

Contents?: true

Size: 1.55 KB

Versions: 4

Compression:

Stored size: 1.55 KB

Contents

<!-- Highlight.js -->
{% if page.with_highlight != false -%}
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/highlight.min.js"></script>
<script src="https://unpkg.com/highlightjs-copy@1.0.3/dist/highlightjs-copy.min.js"></script>
<script>
  hljs.addPlugin(
    new CopyButtonPlugin({
      callback: (text, el) => console.log("Copied!", text),
    })
  );
  hljs.highlightAll();
</script>
{% endif -%}

{% if page.with_datatables == true -%}
<!-- DataTables -->
<script src="{{ site.url }}{{ site.baseurl }}/assets/js/jquery.min.js"></script>
<script src="{{ site.url }}{{ site.baseurl }}/assets/js/jquery.dataTables.min.js"></script>
<script src="{{ site.url }}{{ site.baseurl }}/assets/js/dataTables.bootstrap5.min.js"></script>
<script>
  $(document).ready(function () {
    $("#download-mirror").DataTable();
  });
</script>
{% endif -%}

<!-- BackToTop -->
<script src="{{ site.url }}{{ site.baseurl }}/assets/js/vanilla-back-to-top.min.js"></script>
<script>
  addBackToTop({
    diameter: 56,
    backgroundColor: "rgb(32, 7, 53)",
    textColor: "#fff",
  });
</script>

<!-- Copyright Year -->
<script>
  document.getElementById("copyright_year").innerHTML = new Date().getFullYear();
</script>

<!-- Bootstrap -->
<script src="{{ site.url }}{{ site.baseurl }}/assets/js/bootstrap.bundle.min.js"></script>
<script>
  // Initialize Tooltips
  const tooltipTriggerList = document.querySelectorAll('[data-bs-toggle="tooltip"]');
  const tooltipList = [...tooltipTriggerList].map((tooltipTriggerEl) => new bootstrap.Tooltip(tooltipTriggerEl));
</script>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jekyll-theme-centos-2.27.0 _includes/base/script.html
jekyll-theme-centos-2.26.0 _includes/base/script.html
jekyll-theme-centos-2.25.0 _includes/base/script.html
jekyll-theme-centos-2.24.0 _includes/base/script.html