ppoffice / hexo-theme-icarus

A simple, delicate, and modern theme for the static site generator Hexo.
https://ppoffice.github.io/hexo-theme-icarus/
MIT License
6.28k stars 1.53k forks source link

Feature Request:Consider add keywords for a post rather than tags instead #960

Closed huhuapin closed 2 years ago

huhuapin commented 2 years ago

Consider adding keywords at the top of each post so that the generated web page head contains meta = keywords

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Ricky-G commented 1 year ago

You can still add meta tags into the markdown for the post like below


title: Hello World 👋 categories:

meta property="og:description" content="Hello World"

this will render in the body. Having multiple meta tags in the body is fine, Google will just merge all the meta tags from head and body. So this might be an 'ok' work around for now I am thinking. But yes agree will be good to have control so we can have these at the head

@ppoffice any tips on this please

ppoffice commented 1 year ago

@Ricky-G http://ppoffice.github.io/hexo-theme-icarus/Configuration/icarus-user-guide-configuring-the-theme/#Page-Metadata