{{ define "hero" }}
{{ template "prevnext-button" . }}

{{ .Title }}

{{ with .Params.meta.description }}{{ . }}{{ end }}

{{ template "theme-details" . }}
{{ if not site.Params.hideHTMLLink }} {{ with .Params.htmlURL }} Download {{ end }} {{ end }} {{ if not site.Params.hideDemoLink }} {{ with .Params.meta.demosite }} Demo {{ end }} {{ end }}
←→ to navigate
{{ $img := (.Resources.ByType "image").GetMatch "*screen*" }} {{ if $img }} {{ partial "helpers/picture.html" (dict "image" $img "alt" "Theme Screenshot" "width" 1280 "class" "w-3xl rounded-md shadow-2xl ring-1 ring-gray-900/10") }} {{ end }}
{{ end }} {{ define "main" }}
{{ if not site.Params.hideContent }} {{ .Content }} {{ end }}
{{ end }} {{ define "subheader" }}
{{ partial "breadcrumbs.html" . }}
{{ end }} {{ define "rightsidebar" }} {{ printf "%c" '\u00A0' }} {{ end }} {{ define "leftsidebar" }} {{ printf "%c" '\u00A0' }} {{ end }} {{ define "theme-details" }}
{{ with .Params.meta.license }} {{ template "descriptionlist-item" (dict "label" "License" "value" . ) }} {{ end }} {{ with .Params.githubInfo }} {{ template "descriptionlist-item" (dict "label" "GitHub Stars" "value" .Stars ) }} {{ end }} {{ with .Params.hugoVersion.min }} {{ template "descriptionlist-item" (dict "label" "Minimum Hugo Version" "value" . ) }} {{ end }} {{ template "descriptionlist-item" (dict "label" "Last Updated" "value" ( .Lastmod.Format "2006-01-02") ) }} {{ with .Params.meta.author }} {{ if reflect.IsMap . }} {{ template "descriptionlist-item" (dict "label" "Author" "value" .name "link" .homepage ) }} {{ end }} {{ end }} {{ with .Params.meta.authors }} {{ range . }} {{ template "descriptionlist-item" (dict "label" "Author" "value" .name "link" .homepage ) }} {{ end }} {{ end }} {{ with (.GetTerms "tags") }}
Tags
{{ range $i, $e := . }} {{ .LinkTitle | lower }} {{ end }}
{{ end }}
{{ end }} {{ define "descriptionlist-item" }}
{{ .label }}
{{ .value }}
{{ end }} {{ define "prevnext-button" }} {{ $prev := "" }} {{ with .NextInSection }} {{ $prev = .RelPermalink }} {{ end }} {{ $next := "" }} {{ with .PrevInSection }} {{ $next = .RelPermalink }} {{ end }} {{ $data := dict "prev" $prev "next" $next | jsonify }} {{ end }}