forked from openkylin/platform_build
am 6e181e99: am 2b61bc38: am e0dceabd: Merge "Doc template change: exclude articles from logic to add "prev/next" nav in training docs." into jb-mr1-dev
* commit '6e181e99423757cfaa4ab393461c8f1d392c7bb7': Doc template change: exclude articles from logic to add "prev/next" nav in training docs.
This commit is contained in:
commit
3e847379aa
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue