As I mentioned in previous post, using Grav can be both straightforward and not straightforward at the same time. Here are some things that I learned along the way.

  • Using a skeleton package can be much nicer than using the stock.

  • Fields on the yaml configuration file can take HTML tags. This is especially true for the ones that get rendered into the view (e.g. title, description, copyright).

  • Following the above point, inserting newline can be done with the <br/> tag.

  • Overriding a template file on inherited theme can be as simple as creating a new one on the custom theme (including its directory).

  • Overriding themes can be done in similar way as the template, but its simpler to just create custom.css on the custom theme.

  • When caching is enabled, changes can lag. When this happens, the cache can be cleared by deleting everything in public_html/cache/

I'm putting this just in case it can be helpful to my future self, or anyone else who might try to do something similar.