orchidhq / Orchid

Build and deploy beautiful documentation sites that grow with you
https://orchid.run
GNU General Public License v3.0
513 stars 53 forks source link

Allow users disable generator html metadata #338

Closed thekalinga closed 4 years ago

thekalinga commented 4 years ago

Currently head.peb always adds the Orchid branding to the generated html thru meta tag

<meta name="generator" content="Orchid {{ site.orchidVersion }}"/>

Can you allow users to disable this tag generation if they want to

Generate this by default, but if the user wants to, allow him disable it

cjbrooks12 commented 4 years ago

It is already configurable. That line is added through the {% head %} tag template, and you can override any templates to change them however you need.

To remove that line, add a templates/tags/head.peb file to your site resources and copy the contents of this file into it, removing the meta generator line.

thekalinga commented 4 years ago

Thanks

Have more to learn from my end :+1:

cjbrooks12 commented 4 years ago

No worries, I'm happy to help you get things figured out here! You can also join the Gitter chat and ask any questions there.