Fix for Heading + Abstract on Docs pages
parent
0ea36a2279
commit
391fb66030
|
@ -2,9 +2,10 @@
|
||||||
layout: headerfooter
|
layout: headerfooter
|
||||||
---
|
---
|
||||||
<!-- HERO -->
|
<!-- HERO -->
|
||||||
|
{% for thistoc in site.data[page.versionfilesafe].globals.tocs %}{% assign tree = site.data[page.versionfilesafe][thistoc].toc %}{% include tocsearch.html %}{% endfor %}
|
||||||
<section id="hero" class="light-text">
|
<section id="hero" class="light-text">
|
||||||
<h1>{{ site.data[page.versionfilesafe][page.section].bigheader }}</h1>
|
<h1>{{ site.data[page.versionfilesafe][foundTOC].bigheader }}</h1>
|
||||||
<h5>{{ site.data[page.versionfilesafe][page.section].abstract }}</h5>
|
<h5>{{ site.data[page.versionfilesafe][foundTOC].abstract }}</h5>
|
||||||
<div id="vendorStrip" class="light-text">
|
<div id="vendorStrip" class="light-text">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="/{{ page.version }}/">GUIDES</a></li>
|
<li><a href="/{{ page.version }}/">GUIDES</a></li>
|
||||||
|
@ -24,8 +25,7 @@ layout: headerfooter
|
||||||
<section id="encyclopedia">
|
<section id="encyclopedia">
|
||||||
<div id="docsToc">
|
<div id="docsToc">
|
||||||
<div class="pi-accordion">
|
<div class="pi-accordion">
|
||||||
{% for thistoc in site.data[page.versionfilesafe].globals.tocs %}{% assign tree = site.data[page.versionfilesafe][thistoc].toc %}{% include tocsearch.html %}{% endfor %}
|
{% assign tree = site.data[page.versionfilesafe][foundTOC].toc %}{% include tree.html %}
|
||||||
{% if foundTOC %}{% assign tree = site.data[page.versionfilesafe][foundTOC].toc %}{% include tree.html %}{% endif %}
|
|
||||||
</div> <!-- /pi-accordion -->
|
</div> <!-- /pi-accordion -->
|
||||||
</div> <!-- /docsToc -->
|
</div> <!-- /docsToc -->
|
||||||
<div id="docsContent">{% if page.showedit == true %}<a href="/{{ page.version }}/editdocs#{{ page.path }}" class="button" style="float:right;margin-top:20px;">Edit This Page</a>{% endif %}
|
<div id="docsContent">{% if page.showedit == true %}<a href="/{{ page.version }}/editdocs#{{ page.path }}" class="button" style="float:right;margin-top:20px;">Edit This Page</a>{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue