Fixing toc for github pages

This commit is contained in:
Zachary Klosko 2020-06-07 13:23:26 -04:00
parent 92a9e21e7c
commit 48fb647c16
28 changed files with 155 additions and 79 deletions

View file

@ -83,12 +83,10 @@ layout: default
<h2 class="allcaps navbar-brand section-heading"> {{ page.title }} </h2>
</div>
</div>
<div class="toc">
{% toc %}
<hr class="my-4">
</div>
<!-- This is the main content of the page getting pulled from the MDs -->
<div class="content">
<div class="toc" >{% include toc.html html=content class=toc ordered=true %}</div>
<hr class="my-4">
{{ content }}
</div>

View file

@ -1,30 +0,0 @@
---
layout: default
---
<html>
<head>
<style>
section{padding:4rem 0}
</style>
</head>
<body>
<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>
{{ content }}
</body>
</html>

View file

@ -79,7 +79,6 @@
{{ site.headsubtext}}
</p>
<a class="btn btn-primary btn-xl js-scroll-trigger" href="{{ site.headbuttonurl }}">{{ site.headbuttontext }}</a>
<a class="btn btn-primary btn-xl js-scroll-trigger" href="scheduling-shows">Read the Docs</a>
</div>
</div>
</div>