diff --git a/layouts/_default/list.html b/layouts/_default/list.html index e6962ee..f3afe2d 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -11,9 +11,10 @@ {{ .Content }}
- {{ range (.Paginate (.Data.Pages.GroupByDate "2006")).PageGroups }} + {{ if .Pages }} + {{ range (.Paginate (.Pages.GroupByDate "2006")).PageGroups}}

{{ .Key }}

- {{ range .Pages }} + {{ range where .Pages "Section" "posts" }}
{{ .Title }} {{ if .Params.tags }} @@ -29,6 +30,7 @@
{{ end }} {{ end }} + {{ end }} diff --git a/theme.toml b/theme.toml index 0bd8ab0..d78a262 100644 --- a/theme.toml +++ b/theme.toml @@ -1,8 +1,8 @@ name = "Tango" license = "MIT" -licenselink = "https://lab.pztrn.name/fat0troll/hugo-tango-theme/blob/master/LICENSE" +licenselink = "https://lab.wtfteam.pro/fat0troll/hugo-tango-theme/blob/master/LICENSE" description = "Hugo Theme inspired by linux.org.ru default theme" -homepage = "https://lab.pztrn.name/fat0troll/hugo-tango-theme" +homepage = "https://lab.wtfteam.pro/fat0troll/hugo-tango-theme" tags = ["blog","minimal","responsive","dark"] features = ["blog","font-awesome"] min_version = "0.33"