{{ $githubLink := .theme.Params.github }} {{ if ne .theme.Params.github_branch "master" }} {{ $githubLink = (printf "%s/%s/%s" $githubLink "tree" .theme.Params.github_branch)}} {{ end }}
{{ if .theme.Params.thumbnail }} {{ .theme.Params.title }} screenshot {{ else if .repo }} {{ $staticPath := (printf "%s/%s%s" "static/images/theme/thumbnail" .repo.theme_key ".jpg") }} {{ $filePath := (printf "%s/%s%s" "images/theme/thumbnail" .repo.theme_key ".jpg") }} {{ $filePathHiRes := (printf "%s/%s%s" "images/theme/thumbnail/2x" .repo.theme_key "-2x.jpg") }} {{ if .featured }} {{ $filePath = (printf "%s/%s%s" "capture" .repo.theme_key ".png") }} {{ if (fileExists $staticPath) }} {{ .theme.Params.title }} screenshot {{ else }} {{ .theme.Params.title }} screenshot {{ end }} {{ else }} {{ if (fileExists $staticPath) }} {{ .theme.Params.title }} screenshot {{ else }} {{ .theme.Params.title }} screenshot {{ end }} {{ end }} {{ else }} {{ .theme.Params.title }} screenshot {{ end }}

{{ .theme.Params.title }}

{{ if .repo }} {{ partial "github-metrics.html" (dict "last_commit" .repo.last_commit "stars" .repo.stars )}} {{ end }}
{{ if .theme.Params.description }}

{{ .theme.Params.description | truncate 90 }}

{{ else }}

{{ .theme.Summary | truncate 90 }}

{{ end }}
Github Live Demo {{ if .site.Params.stackbit_button }} {{ if .theme.Params.stackbit }} Create Site {{ else if .stackbit }} {{ if .stackbit.createUrl }} Create Site {{ end }} {{ end }} {{ end }}