{{include "header.html"}} {{include "nav.html"}} {{include "bread.html"}}
{{if .CurrentColumn}} {{$children := ChildrenColumns .CurrentColumn.Slug}} {{if $children}}
{{if .CurrentColumn}}

Tutorial Shelf

{{.CurrentColumn.Title}}

{{.CurrentColumn.Description}}

{{end}}
{{range $book := $children}} {{$items := ColumnContents $book.Slug 6}} {{$grand := ChildrenColumns $book.Slug}}

{{$book.Title}}

{{$book.Description}}

{{if $grand}}{{len $grand}} 本教程{{else}}{{len $items}} 个章节{{end}} {{if $grand}}进入方向{{else}}开始阅读{{end}}
{{end}}
{{else}}
{{include "tutorial-nav.html"}}
{{if .CurrentColumn}}

Book

{{.CurrentColumn.Title}}

{{.CurrentColumn.Description}}

共 {{len .List}} 个章节 · 建议按左侧目录顺序阅读
{{if .CurrentColumn.Content}} {{.CurrentColumn.Content|Str2Html}} {{else}}

这本教程已经整理好章节目录。你可以从左侧选择章节开始阅读,也可以从下面的目录进入任意一章。

{{end}}

章节目录

{{end}} {{if .Pager.Enabled}} {{end}}
{{end}} {{else}}
{{end}}
{{include "footer.html"}} {{include "js.html"}}