1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-20 00:36:55 +01:00

Adding pdf generation capabilities

This commit is contained in:
Guido Cossu
2018-03-15 17:01:59 +00:00
parent 7c51dc07f1
commit 38f93f7e12
60 changed files with 5593 additions and 112 deletions

29
pdfconfigs/tocpage.html Normal file
View File

@ -0,0 +1,29 @@
---
type: frontmatter
search: exclude
permalink: /tocpage.html
---
<!-- new page -->
<div id="navig">
<h1>Table of Contents</h1>
{% assign sidebar = site.data.navigation.docs %}
<ul id="mysidebar" class="nav">
{% for entry in sidebar %}
{% if entry.output contains "pdf" and entry.type != "frontmatter" %}
<li class="sectionHead">
{{ entry.title }}
<ul>
{% for child in entry.children %}
{% if child.output contains "pdf" and child.type != "frontmatter"%}
<li><a href="{{child.url | prepend: site.baseurl}}">{{child.title}}</a>
{% endif %}
{% endfor %}
</li>
</ul>
</li>
{% endif %}
{% endfor %}
</ul>
</div>