155 lines
6.3 KiB
HTML
155 lines
6.3 KiB
HTML
---
|
|
layout: default
|
|
---
|
|
|
|
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Required meta tags -->
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
|
|
<!-- Bootstrap CSS -->
|
|
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
|
|
|
|
<!-- Custom fonts for this template -->
|
|
<link href="vendor/fontawesome-free/css/all.min.css" rel="stylesheet" type="text/css">
|
|
<link href='https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>
|
|
<link href='https://fonts.googleapis.com/css?family=Merriweather:400,300,300italic,400italic,700,700italic,900,900italic' rel='stylesheet' type='text/css'>
|
|
|
|
<!-- Plugin CSS -->
|
|
<link href="vendor/magnific-popup/magnific-popup.css" rel="stylesheet">
|
|
|
|
<!-- Custom styles for this template -->
|
|
<link href="css/creative.min.css" rel="stylesheet">
|
|
|
|
<style>
|
|
.content {
|
|
/* size of my container minus sidebar width */
|
|
width: calc(80%);
|
|
/* Estimated height of largest sidebar in case of short content */
|
|
min-height: 800px;
|
|
}
|
|
section{
|
|
padding:1rem 0
|
|
}
|
|
</style>
|
|
|
|
<title>{{ site.title }} - {{ page.title }}</title>
|
|
</head>
|
|
<body id="page-top">
|
|
|
|
<!-- Navigation -->
|
|
<nav class="navbar navbar-expand-lg navbar-light fixed-top navbar-shrink" id="mainNav">
|
|
<div class="container">
|
|
<a class="navbar-brand js-scroll-trigger" href="index"> {{ site.title }} </a>
|
|
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
|
|
<span class="navbar-toggler-icon"></span>
|
|
</button>
|
|
<div class="collapse navbar-collapse" id="navbarResponsive">
|
|
<ul class="navbar-nav ml-auto">
|
|
{% for item in site.data.nav.topnav %}
|
|
<li class="nav-item">
|
|
<a class="nav-link js-scroll-trigger" href="{{ item.url }}">{{ item.page }}</a>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
<!-- Scroll to Top link -->
|
|
|
|
<a class="top-link hide" href="" id="js-top">
|
|
<svg class="bi bi-arrow-up-circle-fill" width="4em" height="4em" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
|
<path fill-rule="evenodd" d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-10.646.354a.5.5 0 1 1-.708-.708l3-3a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708L8.5 6.207V11a.5.5 0 0 1-1 0V6.207L5.354 8.354z"/>
|
|
</svg>
|
|
<span class="screen-reader-text">Back to top</span>
|
|
</a>
|
|
|
|
<!-- Sidebar -->
|
|
|
|
<nav id="sidebar">
|
|
<div class="sidebar-header">
|
|
<h3>Table of Contents</h3>
|
|
</div>
|
|
|
|
{% for item in site.data.nav.docsnav %}
|
|
<ul class="list-unstyled components">
|
|
<i>{{ item.section }}</i>
|
|
{% for entry in item.contents %}
|
|
<li>
|
|
<a href="{{ entry.url }}">{{ entry.page }}</a>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endfor %}
|
|
</nav>
|
|
|
|
<!-- Page Header -->
|
|
<div class="container-fluid">
|
|
<section class="bg-primary">
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-lg-8 mx-auto text-center">
|
|
<h2 class="section-heading text-white"> {{ page.title }} </h2>
|
|
<hr class="light my-4">
|
|
<p class="text-faded mb-4">
|
|
{{ page.blurb }}
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<!-- This is the main content of the page getting pulled from the MDs -->
|
|
<div class="content">
|
|
{{ content }}
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Optional JavaScript -->
|
|
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
|
|
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
|
|
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js" integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI" crossorigin="anonymous"></script>
|
|
|
|
<!-- For Scroll to Top text; from https://getflywheel.com/layout/sticky-back-to-top-button-tutorial/ -->
|
|
<script>
|
|
// Set a variable for our button element.
|
|
const scrollToTopButton = document.getElementById('js-top');
|
|
|
|
const scrollFunc = () => {
|
|
// Get the current scroll value
|
|
let y = window.scrollY;
|
|
|
|
// If the scroll value is greater than the window height, let's add a class to the scroll-to-top button to show it!
|
|
if (y > 0) {
|
|
scrollToTopButton.className = "top-link show";
|
|
} else {
|
|
scrollToTopButton.className = "top-link hide";
|
|
}
|
|
};
|
|
window.addEventListener("scroll", scrollFunc);
|
|
const scrollToTop = () => {
|
|
// Let's set a variable for the number of pixels we are from the top of the document.
|
|
const c = document.documentElement.scrollTop || document.body.scrollTop;
|
|
|
|
// If that number is greater than 0, we'll scroll back to 0, or the top of the document.
|
|
// We'll also animate that scroll with requestAnimationFrame:
|
|
// https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame
|
|
if (c > 0) {
|
|
window.requestAnimationFrame(scrollToTop);
|
|
// ScrollTo takes an x and a y coordinate.
|
|
// Increase the '10' value to get a smoother/slower scroll!
|
|
window.scrollTo(0, c - c / 10);
|
|
}
|
|
};
|
|
// When the button is clicked, run our ScrolltoTop function above!
|
|
scrollToTopButton.onclick = function(e) {
|
|
e.preventDefault();
|
|
scrollToTop();
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|