mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 23:38:56 +00:00
12 lines
733 B
HTML
12 lines
733 B
HTML
{{- $options := .Get "reverse" | default (.Get 0) | dict "reverse" -}}
|
|
{{- $options = .Get "placement" | default (.Get 1) | dict "placement" | merge $options -}}
|
|
{{- $options = .Get "animation" | default (.Get 2) | dict "animation" | merge $options -}}
|
|
{{- $options = .Get "size" | default (.Get 3) | dict "size" | merge $options -}}
|
|
{{- $options = .Get "node" | default (.Get 4) | dict "node" | merge $options -}}
|
|
{{- if .IsNamedParams -}}
|
|
{{- $options = .Get "width" | dict "width" | merge $options -}}
|
|
{{- $options = .Get "height" | dict "height" | merge $options -}}
|
|
{{- $options = .Get "class" | dict "class" | merge $options -}}
|
|
{{- end -}}
|
|
{{- dict "Options" $options "Inner" .Inner | partial "plugin/timeline.html" -}}
|