parent
d20aa8c72a
commit
6c3be21945
|
@ -6,11 +6,7 @@
|
|||
|
||||
{{- range where site.RegularPages "Type" "in" site.Params.mainSections -}}
|
||||
|
||||
{{- partial "li.html" ( dict
|
||||
"url" .Permalink
|
||||
"title" .Title
|
||||
"subTitle" (.Date | time.Format (":date_medium"))
|
||||
) -}}
|
||||
{{- partial "li.html" ( dict "url" .Permalink "title" .Title "subTitle" (.Date | time.Format (":date_medium")) ) -}}
|
||||
{{- end -}}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
|
|
@ -1,5 +1 @@
|
|||
{{- partial "li.html" ( dict
|
||||
"url" (.Get "href")
|
||||
"title" (.Get "title")
|
||||
"subTitle" (.Get "alt")
|
||||
) -}}
|
||||
{{- partial "li.html" ( dict "url" (.Get "href") "title" (.Get "title") "subTitle" (.Get "alt") ) -}}
|
||||
|
|
Loading…
Reference in New Issue