HUGO
Count unique data item values
tips & tricks
moorereason
March 31, 2021, 3:11pm
2
A variant:
{{ apply .Site.Data.books "index" "." "Year" | uniq | len }}
8 Likes
Hugo Tutorials & Tips
show post in topic
Related topics
Topic
Replies
Views
Activity
Group data by year
support
3
315
May 3, 2023
Access range's count
6
3147
June 16, 2017
.File.UniqueID on zero object
support
4
1122
September 20, 2020
Find the number of items in a data file
2
987
July 30, 2017
Range over data integer key
support
3
819
January 6, 2019