Currently, introducing new variables into the template can only be done by editing the Glog core code. I would like to propose a change to allow users to:
Pass custom variables from the config file to the template (e.g. tracking ids)
Pass custom variables from an article to the template (e.g. article image, references)
This could be achieved by adding a 'user' section to the config file e.g.
/cc @wlaurance
Currently, introducing new variables into the template can only be done by editing the Glog core code. I would like to propose a change to allow users to:
This could be achieved by adding a 'user' section to the config file e.g.
The user variable would be passed through to the template, giving the user access to all the variables defined in its scope.
Custom variables for articles would work in exactly the same way.
Opening for discussion