first commit
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
{{ define "main" }}
|
||||
<div class="doc-wrap">
|
||||
<article class="doc">
|
||||
<header class="doc-head">
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ with .Params.tagline }}<p class="doc-lede">{{ . }}</p>{{ end }}
|
||||
</header>
|
||||
<div class="prose">{{ .Content }}</div>
|
||||
{{ if eq .Section "apps" }}
|
||||
{{ partial "directory.html" (dict "headingLevel" 2) }}
|
||||
{{ else }}
|
||||
<ol class="guide-list">
|
||||
{{ range .Pages.ByWeight }}
|
||||
<li>
|
||||
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||
{{ with .Params.tagline }}<p>{{ . }}</p>{{ end }}
|
||||
</li>
|
||||
{{ end }}
|
||||
</ol>
|
||||
{{ end }}
|
||||
</article>
|
||||
</div>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user