lxndrblz / anatole

Anatole is a minimalistic two-column theme for Hugo.
https://themes.gohugo.io/themes/anatole/
MIT License
651 stars 363 forks source link

Trim the whitespace from the HTML meta tags #366

Closed cedricbonhomme closed 2 years ago

cedricbonhomme commented 2 years ago

Would you mind if I make a PR in order to trim the whitespaces from the HTML meta tags ? Thanks to the hyphen feature: https://gohugo.io/templates/introduction/#whitespace

For example lines 31 and 35 here: https://github.com/lxndrblz/anatole/blob/master/layouts/partials/head.html#L28-L39=

I have tested it, it works well.

And maybe also here: https://github.com/lxndrblz/anatole/blob/master/layouts/partials/head.html#L2-L21= ?

I am not that strict with whitespaces. But it looks a bit strange to me in the description meta tag.

lxndrblz commented 2 years ago

@cedricbonhomme Would you mind opening a PR?

Thanks.

cedricbonhomme commented 2 years ago

Hello, Yes, it's done #367 . Thanks !