getgrav / grav-learn

Grav Learn (exhaustive grav documentation)
http://learn.getgrav.org
MIT License
229 stars 785 forks source link

Added note to `header_var` which has been deprecated and its logic has changed. #1081

Closed pamtbaau closed 5 months ago

pamtbaau commented 10 months ago

If I understand correctly, with the advent of Grav 1.7, header_var has been deprecated in favour of theme_var. Also its logic has been changed by using theme_var under the hood.

Maybe Quark should also be changed. I notice that people tend to reused code from poster theme Quark, which still uses header_var with an array of pages as parameter.