forked from WereBooks/BookshelfCMS_Alpha
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtoc.tmpl
More file actions
30 lines (30 loc) · 2.13 KB
/
toc.tmpl
File metadata and controls
30 lines (30 loc) · 2.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[% INCLUDE blog_header.tmpl %]
<article class="post h-entry post-text postpage post-text" itemscope="itemscope" itemtype="http://schema.org/Article">
<header>
<div class="metadata">
<span class="dateline"><a href="[% config.siteroot %][% book.entries.$entry.url %]" rel="bookmark"><time class="post-date published dt-published" datetime="[% date %]" title="[% date %]"></time></a></span>
<div class="post-title p-name entry-title" itemprop="headline name"><span class="pageheading" title="Book Page"><a href="[% config.siteroot %][% config.book.url %]" class="u-url">[% config.book.title %]</a></span></div>
<div class="post-title byline author vcard" itemprop="author" itemscope itemtype="http://schema.org/Person"><span class="pageauthor byline-name fn" itemprop="name" title="Author Page"><a href="[% config.siteroot %][% config.author.url %]">[% config.author.name %]</a></span></div>
</div>
</header><br />
<div class="e-content entry-content" itemprop="articleBody text">
<div id="entry_[% config.book.entry %]" class="toc">
<h2 class="toc chapter post-title p-name entry-title">[% config.book.entryname %]</h2>
<p><a href="[% config.siteroot %][% config.book.url %]cover/">Cover Page</a></p>
<p><a href="[% config.siteroot %][% book.front.url %]">Project Notes</a></p>
[%- FOREACH entry = book.entries.keys.nsort -%][% IF entry < -100 %][% NEXT %][% END %][% IF entry > 100 %][% NEXT %][% END %]
<p><a href="[% config.siteroot %][% book.entries.$entry.url %]">[% book.entries.$entry.entryname %][% IF book.entries.$entry.subchapter %] : [% book.entries.$entry.subchapter %][% END -%]</a></p>
[%- END %]
</div>
</div>
</article>
<ul class="pager hidden-print">
<li class="previous"><a href="../../../[% config.book.prev.url %]" rel="next" title="[% config.book.prev.entryname %]">Previous</a></li>
<li class="next"><a href="../../../[% config.book.url %]" rel="prev" title="[% config.book.title %]">Next</a></li>
</ul>
</div>
</div>
<br />
<label for="sidebar-checkbox" class="sidebar-toggle"></label>
</body>
[% INCLUDE blog_footer.tmpl %]