aboutsummaryrefslogtreecommitdiffstats
path: root/lv2specgen/lv2specgen.py
diff options
context:
space:
mode:
Diffstat (limited to 'lv2specgen/lv2specgen.py')
-rwxr-xr-xlv2specgen/lv2specgen.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py
index 0aea05b..0a77b78 100755
--- a/lv2specgen/lv2specgen.py
+++ b/lv2specgen/lv2specgen.py
@@ -1222,9 +1222,11 @@ def specgen(specloc, indir, style_uri, docdir, tags, opts, instances=False, root
termlist += docTerms('Instance', instalist, m, classlist, proplist, instalist)
name = specProperty(m, spec, doap.name)
+ title = name
if root_link:
name = '<a href="%s">%s</a>' % (root_link, name)
+ template = template.replace('@TITLE@', title)
template = template.replace('@NAME@', name)
template = template.replace('@SHORT_DESC@', specProperty(m, spec, doap.shortdesc))
template = template.replace('@URI@', spec)