Open KoesterD opened 4 years ago
This is what I see when I visit that page.
Good catch, thanks! I'll open this for Hacktoberfest if anyone wants to pick it up.
Hi, I would like to work on this!
@Raj-Datta-Manohar Sure, thanks. I'll assign you.
I can see this issue persists. I want to resolve this one. Would you please provide some pointers where I should look first in the codebase?
Thanks.
@kyteinsky These pages are generated automatically by Hugo. Without having looked into this, this probably happens as we don't have anything for them in our codebase: https://gohugo.io/templates/
Hmm, I see.
Is this where the categories list is present, as I see deploy.sh
clones the data repo.
And do I need to bind some link or click action to the individual categories, or is that work already done?
I will look into Hugo files in this repo to find out more.
The schema defines a list of all the valid categories, yes. But that's not something you'd have to handle. The Hugo taxonomy stuff should take care of that based on the companies (and thus categories) that are actually present.
And do I need to bind some link or click action to the individual categories, or is that work already done?
Not sure I understand that question, to be honest. The problem here is likely that our default summary
templates don't know how to render a category
. You'd have to create one for that. The category list pages (e.g.: https://www.datarequests.org/categories/school) do already work, as they have a summary
template already: https://github.com/datenanfragen/website/blob/master/layouts/partials/summary-company.html
When I visit https://www.datenanfragen.de/categories/ it shows 2 pages of results, but both are empty.
I expect that page to return the company categories.
This was tested in Chromium 85, Chrome 85, Microsoft Edge 86, Firefox 46 and Firefox 81 with both adblockers active and inactive.