{{- $icon := $args.icon -}}
{{- $iconStyle := "" -}}
{{- $anchor := $args.anchor }}

{{- with $page -}}
    {{- if not $args.title }}{{ $title = .Title }}{{ end -}}
    {{- if not $args.href }}{{ $href = .RelPermalink  }}{{ end -}}
    {{- if not $args.description }}{{ $description = partial "utilities/GetDescription.html" (dict "page" .) }}{{ end -}}
    {{- if and (not $args.thumbnail) (not $args.icon) }}
        {{ if reflect.IsMap .Params.Thumbnail }}{{ $thumbnail = .Params.Thumbnail.url }}{{ else }}{{ 