Skip to content
  • Jakub Ružička's avatar
    058044f0
    templates: add pkgstyle-specific template env · 058044f0
    Jakub Ružička authored
    pkgstyles can now define TEMPLATE_ENV dict containing variables and
    functions available during templating when using that particular style
    as well as TEMPLATE_ENV_DYNAMIC dict containing functionas to be
    evaluated on template render to fill in dynamic template variables.
    
    New {{ now }} dynamic variable containing current date in suitable
    changelog format is now available in templates using deb or rpm
    pkgstyles through this new mechanism.
    058044f0
    templates: add pkgstyle-specific template env
    Jakub Ružička authored
    pkgstyles can now define TEMPLATE_ENV dict containing variables and
    functions available during templating when using that particular style
    as well as TEMPLATE_ENV_DYNAMIC dict containing functionas to be
    evaluated on template render to fill in dynamic template variables.
    
    New {{ now }} dynamic variable containing current date in suitable
    changelog format is now available in templates using deb or rpm
    pkgstyles through this new mechanism.
To find the state of this project's repository at the time of any of these versions, check out the tags.
Loading