{{ $version := index (split .File.Path "/") 1 }} {{ $isDoc := eq .Section "docs" }}