Fix theme for work with latest Hugo
This commit is contained in:
parent
d928abdd06
commit
5ce85fcbee
@ -11,9 +11,10 @@
|
|||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
{{ range (.Paginate (.Data.Pages.GroupByDate "2006")).PageGroups }}
|
{{ if .Pages }}
|
||||||
|
{{ range (.Paginate (.Pages.GroupByDate "2006")).PageGroups}}
|
||||||
<h3 class="is-size-4">{{ .Key }}</h3>
|
<h3 class="is-size-4">{{ .Key }}</h3>
|
||||||
{{ range .Pages }}
|
{{ range where .Pages "Section" "posts" }}
|
||||||
<article>
|
<article>
|
||||||
<span class="is-size-2"><a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a>
|
<span class="is-size-2"><a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a>
|
||||||
{{ if .Params.tags }}
|
{{ if .Params.tags }}
|
||||||
@ -29,6 +30,7 @@
|
|||||||
</article>
|
</article>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
name = "Tango"
|
name = "Tango"
|
||||||
license = "MIT"
|
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"
|
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"]
|
tags = ["blog","minimal","responsive","dark"]
|
||||||
features = ["blog","font-awesome"]
|
features = ["blog","font-awesome"]
|
||||||
min_version = "0.33"
|
min_version = "0.33"
|
||||||
|
Loading…
Reference in New Issue
Block a user