Added GitHub action to do axe accessibility tests with [axe cli](https://github.com/dequelabs/axe-core-npm/tree/develop/packages/cli). I believe it is best by default to let this be run only manually, since fixing some of the issues are not straightforward (I haven't fixed them all for this template yet). --------- Signed-off-by: George Araújo <george.gcac@gmail.com>
59 lines
1.8 KiB
Plaintext
59 lines
1.8 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="contentinfo">
|
|
{% 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/misc.liquid %}
|
|
{% include scripts/badges.liquid %}
|
|
{% include scripts/mathjax.liquid %}
|
|
{% include scripts/analytics.liquid %}
|
|
{% include scripts/progressBar.liquid %}
|
|
{% include scripts/wechatModal.liquid %}
|
|
</body>
|
|
</html>
|