giterlizzi / dokuwiki-plugin-semantic

Dokuwiki Semantic Plugin
http://dokuwiki.org/plugin:semantic
GNU General Public License v2.0
9 stars 5 forks source link

First header appears in description even if the "useheading" config setting is enabled? #13

Open ghost opened 5 years ago

ghost commented 5 years ago

If you use the useheader configuration option in DokuWiki, the first header in the page text is used for the page title, but because of this, the header is picked up and is used as part of the description meta tag. That means you've now got the title in both the actual title and description, which doesn't look too nice in my opinion.

screenshot 2018-11-20 at 3 17 18 pm

Could an option be added to the plugin to exclude the first header from being used in the description? Or perhaps have the plugin ignore it automatically when useheader is enabled?