docs-v2/layouts/shortcodes/list-all-functions.html

13 lines
428 B
HTML

{{ $section := "influxdb" }}
{{ $currentVersion := (index (findRE "[^/]+.*?" .Page.RelPermalink) 1) }}
<ul>
{{ range where $.Site.RegularPages.ByTitle "Section" $section }}
{{ if and (in .RelPermalink (print $section "/" $currentVersion "/")) (in .Title "() function") }}
{{ $title := replaceRE `\ function` "" .Title }}
<li>
<a href="{{ .RelPermalink }}">{{ $title }}</a>
</li>
{{ end }}
{{ end }}
</ul>