yihui / hugo-xmin

eXtremely Minimal Hugo theme: about 140 lines of code in total, including HTML and CSS (with no dependencies)
https://xmin.yihui.org
MIT License
751 stars 360 forks source link

Feature request: description tags on individual pages #55

Open jthaman opened 2 years ago

jthaman commented 2 years ago

I'm trying to follow the advice in the blogdown book about SEO: https://bookdown.org/yihui/blogdown/useful-resources.html#helping-people-find-your-site, and am having some trouble getting description tags to work with this theme. What's the right way to do it?

yihui commented 2 years ago

It's not implemented. This is a minimal theme after all. If you want to add the description, you can customize https://github.com/yihui/hugo-xmin/blob/master/layouts/partials/head_custom.html (more info: https://xmin.yihui.org/about/).