mirror of
https://github.com/Wivik/vinyl-records-collection-theme.git
synced 2024-11-23 08:03:10 +01:00
feat: list is now sorted by title
This commit is contained in:
parent
b301042684
commit
aee47cceee
@ -6,7 +6,7 @@
|
||||
|
||||
|
||||
<main class="album-list">
|
||||
{{ range .Pages }}
|
||||
{{ range sort .Pages "Title" }}
|
||||
|
||||
{{ $default_img := resources.Get "img/default.png" }}
|
||||
<section class="album-card" style="background-image: url('{{ if .Params.cover }}{{ .Site.BaseURL }}/{{ .Params.cover }}{{ else }}{{ $default_img.Permalink }}{{ end }}')">
|
||||
|
Loading…
Reference in New Issue
Block a user