|
| 1 | +<!doctype html> |
| 2 | +<html lang="{{ site.lang }}"> |
| 3 | + <!-- Head --> |
| 4 | + <head> |
| 5 | + {% if page.redirect %} |
| 6 | + {% if page.redirect == true %} |
| 7 | + {% assign redirect = site.baseurl | append: '/' %} |
| 8 | + {% elsif page.redirect contains '://' %} |
| 9 | + {% assign redirect = page.redirect %} |
| 10 | + {% else %} |
| 11 | + {% assign redirect = page.redirect | relative_url %} |
| 12 | + {% endif %} |
| 13 | + <meta http-equiv="refresh" content="3; url={{ redirect }}"> |
| 14 | + {% endif %} |
| 15 | + {% include head.liquid %} |
| 16 | + |
| 17 | + <div class="header-background"> |
| 18 | + <div class="img" style=" |
| 19 | + background-image: url('/assets/img/lab_header.jpeg'); |
| 20 | + background-repeat: no-repeat; |
| 21 | + background-size: contain; |
| 22 | + background-position: center center; |
| 23 | + height: 60em; /* Adjust this if there is white space before the image or if image gets cuts off */ |
| 24 | + margin-bottom: 2em; |
| 25 | + margin-top: -2.7em; |
| 26 | + width: 100%; |
| 27 | + "></div> |
| 28 | + </div> |
| 29 | + |
| 30 | + </head> |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + <!-- Body --> |
| 35 | + <body class="{% if site.navbar_fixed %}fixed-top-nav{% endif %} {% unless site.footer_fixed %}sticky-bottom-footer{% endunless %}"> |
| 36 | + <!-- Header --> |
| 37 | + {% include header.liquid %} |
| 38 | + |
| 39 | + <!-- Content --> |
| 40 | + <div class="container mt-5" role="main"> |
| 41 | + {% if page.toc and page.toc.sidebar %} |
| 42 | + {% if page.toc.sidebar == 'right' %} |
| 43 | + <div class="row"> |
| 44 | + <!-- main content area --> |
| 45 | + <div class="col-sm-9">{{ content }}</div> |
| 46 | + <!-- sidebar, which will move to the top on a small screen --> |
| 47 | + <div class="col-sm-3"> |
| 48 | + <nav id="toc-sidebar" class="sticky-top"></nav> |
| 49 | + </div> |
| 50 | + </div> |
| 51 | + {% else %} |
| 52 | + <div class="row"> |
| 53 | + <!-- sidebar, which will move to the top on a small screen --> |
| 54 | + <div class="col-sm-3"> |
| 55 | + <nav id="toc-sidebar" class="sticky-top"></nav> |
| 56 | + </div> |
| 57 | + <!-- main content area --> |
| 58 | + <div class="col-sm-9">{{ content }}</div> |
| 59 | + </div> |
| 60 | + {% endif %} |
| 61 | + {% else %} |
| 62 | + {{ content }} |
| 63 | + {% endif %} |
| 64 | + </div> |
| 65 | + |
| 66 | + <!-- Footer --> |
| 67 | + {% include footer.liquid %} |
| 68 | + |
| 69 | + <!-- JavaScripts --> |
| 70 | + {% include scripts/jquery.liquid %} |
| 71 | + {% include scripts/bootstrap.liquid %} |
| 72 | + {% include scripts/masonry.liquid %} |
| 73 | + {% include scripts/mermaid.liquid %} |
| 74 | + {% include scripts/diff2html.liquid %} |
| 75 | + {% include scripts/leaflet.liquid %} |
| 76 | + {% include scripts/chartjs.liquid %} |
| 77 | + {% include scripts/echarts.liquid %} |
| 78 | + {% include scripts/vega.liquid %} |
| 79 | + {% include scripts/tikzjax.liquid %} |
| 80 | + {% include scripts/typograms.liquid %} |
| 81 | + {% include scripts/misc.liquid %} |
| 82 | + {% include scripts/badges.liquid %} |
| 83 | + {% include scripts/mathjax.liquid %} |
| 84 | + {% include scripts/pseudocode.liquid %} |
| 85 | + {% include scripts/analytics.liquid %} |
| 86 | + {% include scripts/progressBar.liquid %} |
| 87 | + {% include scripts/wechatModal.liquid %} |
| 88 | + {% include scripts/imageLayouts.liquid %} |
| 89 | + {% include scripts/jekyll_tabs.liquid %} |
| 90 | + {% include scripts/back_to_top.liquid %} |
| 91 | + {% include scripts/search.liquid %} |
| 92 | + </body> |
| 93 | +</html> |
0 commit comments