{{ .Get 1 }}
{{ $active_category := .Get 0 }} {{ $active_status := .Get 1 }} {{ $is_exists := 0 }} {{ range $page := .Site.RegularPages }} {{ if gt (len (findRE $active_status $page.Params.status)) 0 }} {{ if gt (len (findRE (print "/" $active_category "/") $page.File)) 0 }} {{ $is_exists = 1 }} {{ end }} {{ end }} {{ end }} {{ if eq $is_exists 1 }} {{ range $page := .Site.RegularPages }} {{ if gt (len (findRE $active_status $page.Params.status)) 0 }} {{ if gt (len (findRE (print "/" $active_category "/") $page.File)) 0 }} {{ end }} {{ end }} {{ end }}
Status PEP Authors
{{ substr $page.Params.status 0 1 }}{{ substr $page.Params.type 0 1 }} {{ $page.Params.status }}, {{ $page.Params.type }} {{ $page.Title }}
{{ if (isset $page.Params.author 0) }} {{ range $elem_index, $elem_val := $page.Params.author }} {{ $initialEmail := delimit (findRE `<.*@.*>` $elem_val) "" }} {{ $initialLogin := delimit (findRE `\(@.*\)` $elem_val) "" }} {{ $initialLink := delimit (findRE `\([^@].*\)` $elem_val) "" }} {{ $nameWithoutEmail := trim (substr $elem_val 0 (sub (len $elem_val) (len $initialEmail))) " " }} {{ $nameWithoutLogin := trim (substr $elem_val 0 (sub (len $elem_val) (len $initialLogin))) " " }} {{ $nameWithoutLink := trim (substr $elem_val 0 (sub (len $elem_val) (len $initialLink))) " " }} {{ if $initialEmail }} {{ $nameWithoutEmail }} {{ $email := slicestr $initialEmail 1 (sub (len $initialEmail) 1) }} {{ else if ($initialLogin) }} {{ $nameWithoutLogin }} {{ $login := slicestr $initialLogin 1 (sub (len $initialLogin) 1) }} {{ $linkLogin := trim $login "@" }} {{ else if ($initialLink) }} {{ $nameWithoutLink }} {{ $link := slicestr $initialLink 1 (sub (len $initialLink) 1) }} {{ else }} {{ $elem_val }} {{ end }} {{ if gt (sub (len $page.Params.author) 1) $elem_index }} , {{end}} {{ end }} {{ else }} {{ $initialEmail := delimit (findRE `<.*@.*>` $page.Params.author) "" }} {{ $initialLogin := delimit (findRE `\(@.*\)` $page.Params.author) "" }} {{ $initialLink := delimit (findRE `\([^@].*\)` $page.Params.author) "" }} {{ $nameWithoutEmail := trim (substr $page.Params.author 0 (sub (len $page.Params.author) (len $initialEmail))) " " }} {{ $nameWithoutLogin := trim (substr $page.Params.author 0 (sub (len $page.Params.author) (len $initialLogin))) " " }} {{ $nameWithoutLink := trim (substr $page.Params.author 0 (sub (len $page.Params.author) (len $initialLink))) " " }} {{ if $initialEmail }} {{ $nameWithoutEmail }} {{ $email := slicestr $initialEmail 1 (sub (len $initialEmail) 1) }} {{ else if ($initialLogin) }} {{ $nameWithoutLogin }} {{ $login := slicestr $initialLogin 1 (sub (len $initialLogin) 1) }} {{ $linkLogin := trim $login "@" }} {{ else if ($initialLink) }} {{ $nameWithoutLink }} {{ $link := slicestr $initialLink 1 (sub (len $initialLink) 1) }} {{ else }} {{ $page.Params.author }} {{ end }} {{ end }}
{{ else }}

Not found

{{ end }}