glados.no/_layouts/default.html

86 lines
2.2 KiB
HTML
Raw Normal View History

2020-08-15 17:02:14 +02:00
<!DOCTYPE html>
2020-11-21 14:13:16 +01:00
<html lang="en">
2020-08-15 17:02:14 +02:00
2020-11-21 14:13:16 +01:00
{% include structure/head.html %}
2020-08-16 17:28:45 +02:00
2020-11-21 14:13:16 +01:00
<body>
2020-09-24 23:28:57 +02:00
2020-11-21 14:13:16 +01:00
{% include bars/nav.html %}
2020-08-15 17:02:14 +02:00
2020-11-21 14:13:16 +01:00
{% capture col1 %}{% if page.narrow %}3{% else %}4{% endif %}{% endcapture %}
2020-08-15 17:02:14 +02:00
2020-11-21 14:13:16 +01:00
{% capture col2 %}{% if page.narrow %}9{% else %}8{% endif %}{% endcapture %}
2020-08-15 17:02:14 +02:00
2020-11-21 14:13:16 +01:00
<div class="container site-container" id="top">
<div class="row">
<div class="d-none d-lg-block col-lg-4 col-xl-{{ col1 }} side">
{% include bars/side.html %}
</div>
<div class="col-md-12 col-lg-8 col-xl-{{ col2 }} pb-4 content">
{{ content }}
</div>
<div class="col-md-12 d-lg-none bottom">
{% include bars/bottom.html %}
</div>
</div>
</div>
2020-08-15 17:02:14 +02:00
2020-11-21 14:13:16 +01:00
<script type="text/javascript">
/*!
* IE10 viewport hack for Surface/desktop Windows 8 bug
* Copyright 2014-2017 The Bootstrap Authors
* Copyright 2014-2017 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
2020-08-15 17:02:14 +02:00
2020-11-21 14:13:16 +01:00
// See the Getting Started docs for more information:
// https://getbootstrap.com/getting-started/#support-ie10-width
2020-08-15 17:02:14 +02:00
2020-11-21 14:13:16 +01:00
(function () {
'use strict'
if (navigator.userAgent.match(/IEMobile\/10\.0/)) {
var msViewportStyle = document.createElement('style')
msViewportStyle.appendChild(
document.createTextNode(
'@-ms-viewport{width:auto!important}'
)
)
document.head.appendChild(msViewportStyle)
}
}())
</script>
{% if page.math %}
<script>
MathJax = {
tex: {
packages: {
'[+]': ['mhchem', 'ams']
},
inlineMath: [ // start/end delimiter pairs for in-line math
['$','$'],
['\\(', '\\)']
],
displayMath: [ // start/end delimiter pairs for display math
['$$', '$$'],
['\\[', '\\]']
],
tags: 'ams',
processRefs: true,
2020-11-22 14:12:23 +01:00
},
chtml: {
scale: 1,
minScale: .5,
matchFontHeight: true,
2020-11-21 14:13:16 +01:00
}
};
</script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"></script>
{% endif %}
</body>
2020-09-24 23:28:57 +02:00
2020-08-15 17:02:14 +02:00
</html>