howto.ovh theme

To style Grav like grav.howto.ovh, add these items via the admin interface:

  • Plugin: LangSwitcher
  • Plugin: SimpleSearch
  • Theme: Learn2

Back to the terminal, login as the user www-user:

su - www-user

And get the How-To theme from github:

git clone https://github.com/patrikroy/grav-theme-how-to.git /www/grav.howto.ovh/user/themes/how-to

Back in the theme manager, refresh the page and activate the How-To theme:

Now, for your pages to be able to display the left and right navigation arrows, you need in each page:

  • In the Options tab, add a Taxonomies/Category called docs
  • In the Advanced tab, select Page Template = Docs

Add languages in the Configuration / System / Languages menu:

The theme is now properly configured.

Finally, to either

  • Change or remove the version number in the top-right corner
  • Add, edit or remove language translations

Edit this file:

nano /www/www.howto.ovh/user/themes/how-to/languages.yaml

Enjoy!