Doc template change: exclude articles from logic to add "prev/next" nav in training docs.

Change-Id: I384c5c5df053d9e98fa953c2e3998e7c99c08569
This commit is contained in:
Dirk Dougherty
2012-11-30 12:44:40 -08:00
parent 5747d38aad
commit 18dca5d058

View File

@@ -17,7 +17,7 @@
?>class="col-13" id="doc-col"<?cs else
?>class="col-12" id="doc-col"<?cs /if ?> >
<?cs if:(design||training||walkthru) && !page.trainingcourse ?><?cs # header logic for docs that provide previous/next buttons ?>
<?cs if:(design||training||walkthru) && !page.trainingcourse && !page.article ?><?cs # header logic for docs that provide previous/next buttons ?>
<?cs if:header.hide ?>
<?cs else ?>
<div class="layout-content-row content-header <?cs if:header.justLinks ?>just-links<?cs /if ?>">
@@ -154,7 +154,7 @@
</div>
<?cs # for training classes, provide a different kind of link when the next page is a different class ?>
<?cs if:training ?>
<?cs if:training && !page.article ?>
<div class="layout-content-row content-footer next-class" style="display:none" itemscope itemtype="http://schema.org/SiteNavigationElement">
<a href="#" class="next-class-link hide">Next class: </a>
</div>