{{ if gt (len .) 1 }}{{ end }} {{ range $index, $director := . }} {{- if gt $index 0 }}, {{ end -}} {{ with $.Site.GetPage (printf "/%s/%s" $taxo $director) -}} {{ $director }} {{ $s := path.Dir (.Permalink | relURL) }} {{ $dirFile := path.Split $s }} {{ $dirPath := print "/games/" $dirFile.File }} {{ $dirCheck := os.FileExists $dirPath }} {{ if os.FileExists $dirPath }} {{ $.Scratch.Set "check" $dirCheck }} {{ $.Scratch.Set "path" $dirPath }} {{ $.Scratch.Set "name" $dirFile.File }} {{ end }} {{ $dirPath := print "/m/" $dirFile.File ".md"}} {{ $dirPathFix := print "/m/post/" $dirFile.File }} {{ $dirCheck := os.FileExists $dirPath }} {{ if os.FileExists $dirPath }} {{ $.Scratch.Set "check" $dirCheck }} {{ $.Scratch.Set "path" $dirPathFix }} {{ $.Scratch.Set "name" $dirFile.File }} {{ end }} {{- end -}} {{- end -}} {{ end }} {{ if $.Scratch.Get "check" }} / {{ $.Scratch.Get "name" }}
{{ end }}update : {{ .Lastmod.Format "2006-01-02" }}
{{ end }}
{{ .Date.Local.Format "2006-01-02" }} / {{ .Site.Author.name }}
{{ $taxo := "tags" }}
{{ with .Param $taxo }}