gohugo-theme-ananke icon indicating copy to clipboard operation
gohugo-theme-ananke copied to clipboard

Include authors meta tag

Open j0hax opened this issue 1 year ago • 3 comments

This patch includes a <meta name="author" ... tag. If there are multiple authors, their names will be comma-seperated.

j0hax avatar Apr 27 '23 14:04 j0hax

Deploy Preview for gohugo-ananke-theme-demo canceled.

Name Link
Latest commit 641b5656ecd682f6840a3f8145baa665c04e5caa
Latest deploy log https://app.netlify.com/sites/gohugo-ananke-theme-demo/deploys/644a840fd0fecd0008661684

netlify[bot] avatar Apr 27 '23 14:04 netlify[bot]

Hi @j0hax and thanks for this. Could you provide some literature on the relevance of the author tag? I could not find anything of note with a simple search.

regisphilibert avatar Nov 21 '23 19:11 regisphilibert

Hi! According to W3C, author is a standard name for the <meta> tag:

The value must be a free-form string giving the name of one of the page's authors.

More examples from around the web:

  • https://webmasters.stackexchange.com/questions/114921/how-should-i-correctly-use-the-meta-name-author-tag
  • https://www.ionos.com/digitalguide/websites/web-development/the-most-important-meta-tags-and-their-functions/

I believe that providing machine-readable metadata about the author can improve user experience in e.g. reader views or social share previews.

j0hax avatar Nov 29 '23 17:11 j0hax