ScilifelabDataCentre / genome-portal

This is the repository for the Swedish Reference Genome Portal, a service facilitating access and discovery of genome data of non-model eukaryotic species studied in Sweden
https://genomes.scilifelab.se/
MIT License
0 stars 0 forks source link

EB-130: Add meta descriptions for each page. #49

Closed RMCrean closed 1 month ago

RMCrean commented 1 month ago

Before this PR only the homepage had a meta tag with a description (found in the of each HTML file). Lighthouse explains nicely why this is good to have on each page for search engine optimisation

The homepage has for example this description: <meta name="description" content="A platform facilitating access and discovery of genome data of non-model eukaryotic species studied in Sweden, hosted by SciLifeLab">

Now each page is assigned one using the Hugo partial hugo/layouts/partials/create_description.html. This includes an automated way to make descriptions for new species so we don't have to worry about that either.

RMCrean commented 1 month ago

@brinkdp, maybe you have already seen the Trivy scan fail elsewhere and have also looked into it. It's not failing due to a security issue etc... but instead because of rate limiting/too many requests to download a db. So we can safely ignore the failed check, in this case.

RMCrean commented 1 month ago

@brinkdp, thanks for going through and checking, merging now :)