{{ define "title" }}Jamstack Themes{{ end }} {{ define "body_classes" }}page-home has-sidebar{{ end }} {{ define "meta_description" }} {{ $themes := (where .Site.RegularPages "Type" "theme") }} {{ $themes := (where $themes ".Params.draft" "!=" true) }} {{ $themes := (where $themes ".Params.stale" "!=" true) }} {{ $themes := (where $themes ".Params.disabled" "!=" true) }} {{ $themeCount := len $themes}} {{ end }} {{ define "main" }} {{ $themes := (where .Site.RegularPages "Type" "theme") }} {{ $themes := (where $themes ".Params.draft" "!=" true) }} {{ $themes := (where $themes ".Params.stale" "!=" true) }} {{ $themes := (where $themes ".Params.disabled" "!=" true) }} {{ $themeCount := len $themes}}

New Themes ({{ $themeCount }})

A list of themes, templates and starters for Jamstack sites. We're the largest theme gallery of user submitted, open source themes for static site generators 🦖. This site is maintained by the community and with the kind support of Stackbit.

A list of themes and starters for Jamstack sites.

{{ partial "sort-buttons.html" . }}
{{ range (($themes.ByParam "date").Reverse).ByParam "weight" }} {{ $repoName := printf "%s" (substr (replace .Params.github "/" "-") 19 | urlize) }} {{ $repo := index .Site.Data.themes $repoName }} {{ $stackbit := index .Site.Data.stackbit $repoName }} {{ partial "theme-card.html" (dict "theme" . "repo" $repo "stackbit" $stackbit "site" $.Site) }} {{ end }}
{{ end }} {{ define "footer_js" }} {{ $mixitup := resources.Get "js/libs/mixitup.js" }} {{ $mixitupMultiFilter := resources.Get "js/libs/mixitup-multifilter.js" }} {{ $filterGroups := resources.Get "js/filter/filter-groups.js" }} {{ $filterHash := resources.Get "js/filter/filter-hash.js" }} {{ $filter := resources.Get "js/filter/filter.js" }} {{ $filterToggle := resources.Get "js/filter/filter-toggle.js" }} {{ $homeBundle := slice $mixitup $mixitupMultiFilter $filterGroups $filterHash $filter $filterToggle | resources.Concat "js/homeBundle.js" }} {{ if .Site.IsServer }} {{ else }} {{ end }} {{ end }}