Welcome to mirror list, hosted at ThFree Co, Russian Federation.

recent-pages.html « shortcodes « layouts - github.com/marketempower/axiom.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 61cbb062ce0b9614177d7590d8755e6c01d9f0c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{{- $limit := "" -}}
{{- $sections := "" -}}
{{- $class := "" -}}
{{- $style := "" -}}
{{- if .IsNamedParams }}
{{- $limit = .Get "limit" -}}
{{- $sections = .Get "sections" -}}
{{- $class = .Get "class" -}}
{{- $style = .Get "style" -}}
{{- else }}
{{- $limit = .Get 0 -}}
{{- $sections = .Get 1 -}}
{{- $class = .Get 2 -}}
{{- $style = .Get 3 -}}
{{- end }}
{{- partial "recent-pages" (dict "Site" $.Site "Page" . "limit" $limit "sections" $sections "class" $class "style" $style) -}}