Need help installing a hugo theme

can someone please assist me on how i can fix this build problem my log url is attached below

https://app.netlify.com/sites/arafeed/deploys/5f2d6adc2419bc0007215f0e

repo : https://github.com/SamHamou/Arafeed

Problem is reported for the partial themes/hugo/layouts/partials/sidebar.html on line 34.
The content on this line is

{{ range first 10 .Site.Taxonomies.tags.ByCount }}

Could you change the content of this line to the following and see if the problem still persists?

{{ range first 10 $.Site.Taxonomies.tags.ByCount }}

(Add $ before .Site)

nothing happened this is the new log https://app.netlify.com/sites/arafeed/deploys/5f2dc49e34d89000077255c5

Here is the solution: Error using first: both limit and seq must be provided.

1 Like

how i can implement that in my theme

I did it already, check the pull requests…

1 Like

thank you very much it’s working now, but i have a new problem now when visiting my blog i get a page not found error
https://arafeed.netlify.app/
but when i preview the build it works : https://5f2e724e58dddc0007108eae--arafeed.netlify.app/

i have fixed the page not found problem