pages/_layouts/default.liquid
George a7d6b37d8f
Added support for Chart.js (#2126)
Solved #460.


![image](https://github.com/alshedivat/al-folio/assets/31376482/ce65dbe2-031e-4208-b374-08ec89beaaca)

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-26 02:16:14 -03:00

60 lines
1.9 KiB
Plaintext

<!doctype html>
<html lang="{{ site.lang }}">
<!-- Head -->
<head>
{% if page.redirect %}
<meta http-equiv="refresh" content="3; url={{ site.baseurl }}/">
{% endif %}
{% include head.liquid %}
</head>
<!-- Body -->
<body class="{% if site.navbar_fixed %}fixed-top-nav{% endif %} {% unless site.footer_fixed %}sticky-bottom-footer{% endunless %}">
<!-- Header -->
{% include header.liquid %}
<!-- Content -->
<div class="container mt-5" role="main">
{% if page.toc and page.toc.sidebar %}
{% if page.toc.sidebar == 'right' %}
<div class="row">
<!-- main content area -->
<div class="col-sm-9">{{ content }}</div>
<!-- sidebar, which will move to the top on a small screen -->
<div class="col-sm-3">
<nav id="toc-sidebar" class="sticky-top"></nav>
</div>
</div>
{% else %}
<div class="row">
<!-- sidebar, which will move to the top on a small screen -->
<div class="col-sm-3">
<nav id="toc-sidebar" class="sticky-top"></nav>
</div>
<!-- main content area -->
<div class="col-sm-9">{{ content }}</div>
</div>
{% endif %}
{% else %}
{{ content }}
{% endif %}
</div>
<!-- Footer -->
{% include footer.liquid %}
<!-- JavaScripts -->
{% include scripts/jquery.liquid %}
{% include scripts/bootstrap.liquid %}
{% include scripts/masonry.liquid %}
{% include scripts/mermaid.liquid %}
{% include scripts/chart.liquid %}
{% include scripts/misc.liquid %}
{% include scripts/badges.liquid %}
{% include scripts/mathjax.liquid %}
{% include scripts/analytics.liquid %}
{% include scripts/progressBar.liquid %}
{% include scripts/wechatModal.liquid %}
</body>
</html>