forked from alshedivat/al-folio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8306def
commit c423549
Showing
1 changed file
with
38 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,76 +1,71 @@ | ||
<!doctype html> | ||
<!DOCTYPE html> | ||
<html lang="{{ site.lang }}"> | ||
|
||
<!-- Head --> | ||
<head> | ||
{% if page.redirect %} | ||
{% if page.redirect == true %} | ||
{%- if page.redirect -%} | ||
<meta http-equiv="refresh" content="3; url={{ site.baseurl }}/" /> | ||
{% if page.redirect == true %} | ||
{% assign redirect = site.baseurl | append: '/' %} | ||
{% elsif page.redirect contains '://' %} | ||
{% assign redirect = page.redirect %} | ||
{% else %} | ||
{% assign redirect = page.redirect | relative_url %} | ||
{% endif %} | ||
<meta http-equiv="refresh" content="3; url={{ redirect }}"> | ||
{% endif %} | ||
{% include head.liquid %} | ||
{%- endif -%} | ||
{% include head.html %} | ||
</head> | ||
|
||
<!-- Body --> | ||
<body class="{% if site.navbar_fixed %}fixed-top-nav{% endif %} {% unless site.footer_fixed %}sticky-bottom-footer{% endunless %}"> | ||
|
||
<!-- Header --> | ||
{% include header.liquid %} | ||
{%- include header.html %} | ||
|
||
<!-- Content --> | ||
<div class="container mt-5" role="main"> | ||
<div class="container mt-5"> | ||
{% 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> | ||
{% 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 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 %} | ||
{%- include footer.html %} | ||
|
||
<!-- JavaScripts --> | ||
{% include scripts/jquery.liquid %} | ||
{% include scripts/bootstrap.liquid %} | ||
{% include scripts/masonry.liquid %} | ||
{% include scripts/mermaid.liquid %} | ||
{% include scripts/diff2html.liquid %} | ||
{% include scripts/leaflet.liquid %} | ||
{% include scripts/chartjs.liquid %} | ||
{% include scripts/echarts.liquid %} | ||
{% include scripts/vega.liquid %} | ||
{% include scripts/tikzjax.liquid %} | ||
{% include scripts/typograms.liquid %} | ||
{% include scripts/misc.liquid %} | ||
{% include scripts/badges.liquid %} | ||
{% include scripts/mathjax.liquid %} | ||
{% include scripts/pseudocode.liquid %} | ||
{% include scripts/analytics.liquid %} | ||
{% include scripts/progressBar.liquid %} | ||
{% include scripts/wechatModal.liquid %} | ||
{% include scripts/jquery.html %} | ||
{% include scripts/bootstrap.html %} | ||
{% include scripts/masonry.html %} | ||
{% include scripts/misc.html %} | ||
{% include scripts/mathjax.html %} | ||
{% include scripts/analytics.html %} | ||
{% include scripts/progressBar.html %} | ||
{% include scripts/mermaid.html %} | ||
{% include scripts/imageLayouts.liquid %} | ||
{% include scripts/jekyll_tabs.liquid %} | ||
{% include scripts/back_to_top.liquid %} | ||
</body> | ||
</html> |