mirror of
https://github.com/oskar456/dzonegit.git
synced 2024-05-11 05:55:41 +00:00
New macro $zonerelfile in template file.
This commit is contained in:
committed by
Ondřej Caletka
parent
24d992d999
commit
f9c6a52357
@ -395,7 +395,7 @@ def template_config(checkoutpath, template, blacklist=set(), whitelist=set()):
|
||||
zonevar = defaultvar
|
||||
out.append(itemtpl.substitute(
|
||||
mapping, zonename=zonename,
|
||||
zonefile=str(f), zonevar=zonevar,
|
||||
zonefile=str(f), zonerelfile=str(f.relative_to(checkoutpath)), zonevar=zonevar,
|
||||
))
|
||||
if footertpl.template:
|
||||
out.append(footertpl.substitute(mapping))
|
||||
|
Reference in New Issue
Block a user