page.html (1013B)
1 <header class="flex-none w-100">
2 {{ if .Params.categories }}
3 {{ range .Params.categories }}
4 <a href="{{ "/categories/" | relLangURL }}{{ . | urlize }}" class="f6 fw8 mb0 link mid-gray dim mr3">
5 {{ humanize . | upper }}
6 </a>
7 {{ end }}
8 {{end}}
9 <h1 class="lh-title mb3 mv0 pt3 primary-color-dark">
10 {{- if eq .Section "functions" -}}
11 {{ .LinkTitle }}
12 {{- else -}}
13 {{ .Title }}
14 {{- end -}}
15 </h1>
16 </header>
17
18 <aside class="bt bw1 pt3 mt2 mid-gray b--mid-gray fn w-100">
19 {{ with .Params.description }}
20 <div class="f4 fw4 lh-copy">
21 {{ . | markdownify }}
22 </div>
23 {{ end }}
24
25 <!--
26 NOTE: Removed to test builds without it.
27 partial "components/author-github-data" (dict "context" . "size" "110") -->
28 </aside>
29
30 {{ with .Params.featured_image_path }}
31 <img src="{{ . }}" alt="Featured Image for {{ $.Title }}" class="mw-100">
32 {{ end }}
33
34 <div class="prose" id="prose">
35 {{- partial "docs/functions-signature.html" . -}}
36 {{ .Content }}
37 </div>