Closed kiwenlau closed 4 years ago
Hey, there is how hexo-theme-material make it: https://github.com/viosey/hexo-theme-material/commit/a4f6eabde6ad4e7eaae4cae9f5876e5ee9f7bd97 I use the replace to avoid the messy code. There is a demo: https://blog.nfz.moe
@neoFelhz THX. But it does not work...
Use open_graph
helper.
This issue has been automatically marked as stale because lack of recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I'd like to add description meta in my blog page for SEO:
I add following code in head.ejs
But the result is unreadable:
It seems not right because search engine may not understand it.
I tried to decode the content using http://www.cafewebmaster.com/online_tools/utf_decode. So the messy code is called "HTML entities decode".
How can I decode them in head.ejs to generate correct html?