AngeloStavrow / indigo

An IndieWeb-friendly custom theme for Hugo
MIT License
58 stars 33 forks source link

AuthorName used in meta tag, but Author in the h-card #75

Open fredcy opened 4 years ago

fredcy commented 4 years ago

I set up a new site with config.toml based on the themes/indigo/config.toml.example file. With that I find that the meta element for "author" has an empty value in the generated pages:

<meta name="author" content="">

If I add an AuthorName parameter to config.toml in the [params] section then the above element gets that value as its content

It seems wrong to require the author name to be defined as both the Author parameter and the AuthorName parameter. Can those be combined into one parameter?

AngeloStavrow commented 4 years ago

Good catch! This is a bug — thanks for reporting it.

We should change AuthorName to Author here.