Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 44228b4

Browse files
committed
add link to Advance and Guide chapters
1 parent 22ad567 commit 44228b4

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

public/docs/ts/latest/guide/index.jade

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ figure
1616

1717
block js-alert
1818

19+
- var guideData = public.docs[_docsFor].latest.guide._data;
20+
- var advancedLandingPage = '';
21+
- for(var page in guideData) {
22+
- if (!guideData[page].basics && !guideData[page].hide) { advancedLandingPage = page; break; }
23+
- }
24+
- var advancedUrl = './' + advancedLandingPage + '.html'
1925
- var top="vertical-align:top"
2026
table(width="100%")
2127
col(width="15%")
@@ -26,7 +32,7 @@ table(width="100%")
2632
:marked
2733
The foundation for every page and sample in this documentation.
2834
tr(style=top)
29-
td <b>Guide</b>
35+
td <b><a href="./">Guide</a></b>
3036
td
3137
:marked
3238
The essential ingredients of Angular development.
@@ -42,7 +48,7 @@ table(width="100%")
4248
A step-by-step, immersive approach to learning Angular that
4349
introduces the major features of Angular in an application context.
4450
tr(style=top)
45-
td <b>Advanced</b>
51+
td <b><a href="!{advancedUrl}">Advanced</a></b>
4652
td
4753
:marked
4854
In-depth analysis of Angular features and development practices.

0 commit comments

Comments
 (0)