st1020 / kita

Kita is a clean, elegant and simple blog theme for Zola.
https://st1020.github.io/kita/
MIT License
41 stars 12 forks source link

Is it `description` or `summary` in page information ? #10

Closed AmirAref closed 5 months ago

AmirAref commented 5 months ago

There are two definition as page's description or page's summary.
Somewhere in the templates, the summary has been used, such as here in templates/partials/head.html. And another place in templates/partials/page_list.html both of them has been handled. And in the sample contents, the description has been used.

So I think it's better to use one exact definition to avoid this duality (or we should handle both of them everywhere).

st1020 commented 5 months ago

Yes, you are right, the page's description and page's summary is different. And the description <meta> tag should use description instead of summary.

I fixed it in https://github.com/st1020/kita/commit/2c1452673dae803d85b5c12ce4d888cc5a996ea6.