parent
6e6fb4919c
commit
78878d2e28
@ -1,8 +1,8 @@
|
|||||||
{{ $scratch := newScratch }}
|
{{- $scratch := newScratch -}}
|
||||||
{{ $scratch.Set "current" 0 }}
|
{{- $scratch.Set "current" 0 -}}
|
||||||
{{ range.Site.RegularPages }}
|
{{- range.Site.RegularPages -}}
|
||||||
{{ if gt (int .File.TranslationBaseName) ($scratch.Get "current") }}
|
{{- if gt (int .File.TranslationBaseName) ($scratch.Get "current") -}}
|
||||||
{{ $scratch.Set "current" (int .File.TranslationBaseName) }}
|
{{- $scratch.Set "current" (int .File.TranslationBaseName) -}}
|
||||||
{{ end }}
|
{{- end -}}
|
||||||
{{ end }}
|
{{- end -}}
|
||||||
{{ $scratch.Get "current" }}
|
{{- $scratch.Get "current" -}}
|
Loading…
Reference in new issue