gabrielgio.me @ abdfc394b1af6cb321bb8e2b021912ff4f861936

 1{{/*
 2  Use Hugo's native Table of contents feature. You must set `toc: true` in your parameters for this to show.
 3  https://gohugo.io/content-management/toc/
 4*/}}
 5
 6{{- if .Params.toc -}}
 7  <div class="bg-light-gray pa3 nested-list-reset nested-copy-line-height nested-links">
 8    <p class="f5 b mb3">{{ i18n "whatsInThis" . }}</p>
 9      {{ .TableOfContents }}
10  </div>
11{{- end -}}
12
13{{/*
14  Use Hugo's native related content feature to pull in content that may have similar parameters, like tags. etc.
15  https://gohugo.io/content-management/related/
16*/}}
17
18{{ $related := .Site.RegularPages.Related . | first 15 }}
19
20{{ with $related }}
21  <div class="bg-light-gray pa3 nested-list-reset nested-copy-line-height nested-links">
22    <p class="f5 b mb3">{{ i18n "related" }}</p>
23    <ul class="pa0 list">
24	   {{ range . }}
25	     <li  class="mb2">
26          <a href="{{ .RelPermalink }}">
27            {{- .Title -}}
28          </a>
29        </li>
30	    {{ end }}
31    </ul>
32</div>
33{{ end }}