luizdepra / hugo-coder

A minimalist blog theme for hugo.
MIT License
2.74k stars 1.07k forks source link

Add additional tags to theme.toml. #934

Open simonhollingshead opened 1 month ago

simonhollingshead commented 1 month ago

Prerequisites

Put an x into the box(es) that apply:

Description

When I was looking through the hugo themes site to attempt to give a friend a link to this theme, I went into the "dark" tag on the right hand side... and realised Coder wasn't there. Looking closer, I noticed that coder doesn't claim to be light or dark (nor "Dark mode" which is also in the sidebar for some reason). All three seemed entirely appropriate for this theme to claim.

Compare this to https://themes.gohugo.io/themes/hugo-papermod/ or https://themes.gohugo.io/themes/hugo-theme-hello-friend-ng/ or https://themes.gohugo.io/themes/gokarna/ - all of these have both the "light" and the "dark" tag to reflect that they're toggleable. The tags aren't used in a mutually exclusive way.

As such, for coder's discovery, I think it should also be in both sections.

I'm not sure if changing this is all that is needed (and then it would naturally propagate) or whether additional changes are needed in an official Hugo repo too, but I wouldn't have the authority to make such changes elsewhere on your behalf anyway, so I just changed the TOML file from this repo.

Issues Resolved

No issues filed are fixed.

Checklist

Put an x into the box(es) that apply:

General

Resources

Contributors