diff options
Diffstat (limited to 'lv2specgen')
-rwxr-xr-x | lv2specgen/lv2specgen.py | 2 | ||||
-rw-r--r-- | lv2specgen/template.html | 2 |
2 files changed, 3 insertions, 1 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) diff --git a/lv2specgen/template.html b/lv2specgen/template.html index fb79c31..5056aef 100644 --- a/lv2specgen/template.html +++ b/lv2specgen/template.html @@ -10,7 +10,7 @@ @XMLNS@ xml:lang="en"> <head> - <title>@NAME@</title> + <title>@TITLE@</title> <meta http-equiv="content-type" content="text/xhtml+xml; charset=utf-8" /> <meta name="generator" content="lv2specgen" /> <link href="@STYLE_URI@" rel="stylesheet" type="text/css" /> |