danpros / htmly

Simple and fast databaseless PHP blogging platform, and Flat-File CMS
https://www.htmly.com
GNU General Public License v2.0
1.07k stars 263 forks source link

SEO standard invalid of META tags - Inside BODY tag #744

Closed vvcares closed 2 months ago

vvcares commented 4 months ago
  1. SEO standard un-necessary META tags - Inside BODY tag Sample File : https://github.com/danpros/htmly/blob/master/themes/blog/layout.html.php Line : 28, 29

META tags should be in <head. NOT inside <body

  1. NAVIGATION ROLE is un-necessary: Line: 141 >> *** role="navigation"

  2. functions.php >> 2688 >> Un-necessary META tag *** <meta charset="utf8"

  3. The type attribute is unnecessary for JavaScript resources.

danpros commented 4 months ago

Hello,

Thanks. For number 3 to fix eg. Chinese char in menu actually but not removed in the output.

vvcares commented 3 months ago

So this #3-CHARSET supposed tobe removed for SEO. Is it ? Im still seeing it not removed on v2.9.9

danpros commented 2 months ago

Already fixed it in master branch. Thanks