We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd4a6c3 commit e2dadcfCopy full SHA for e2dadcf
layouts/docs/list.html
@@ -10,8 +10,8 @@
10
{{ partial "docs/content-page" (dict "ctx" $ "page" $ ) }}
11
{{ else }}
12
<h1>{{ .Title }}</h1>
13
+ {{ with .Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ end }}
14
{{ end }}
- {{ with .Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ end }}
15
{{ partial "section-index.html" . }}
16
</div>
17
layouts/partials/docs/content-page.html
@@ -7,6 +7,7 @@
7
</p>
8
{{ if not .page.Params.notitle }}
9
<h1>{{ .page.Title }}</h1>
+ {{ $desc := .page.Description }}
+ {{ with .page.Params.description }}<div class="lead">{{ $desc | markdownify }}</div>{{ end }}
-
-{{ .page.Content }}
+{{ .page.Content }}
0 commit comments