Mercurial > dottes
diff abcfield.py @ 722:f8ab14cc9d8d build-default-281
Add previous and next tune links to website.
author | Jim Hague <jim.hague@acm.org> |
---|---|
date | Tue, 10 Oct 2017 15:01:22 +0100 |
parents | f620323ff96d |
children | f9a554e858f3 |
line wrap: on
line diff
--- a/abcfield.py Mon Oct 09 19:07:36 2017 +0100 +++ b/abcfield.py Tue Oct 10 15:01:22 2017 +0100 @@ -176,7 +176,7 @@ # <foo.abc> will expand to ['title of foo'](foo.abc). def expandCustomMarkdown(t, dir, latex): # Given a match to (foo.abc), return a markdown link to the tune with the - # title of the tune as the text of the link. + # title (and subtitle, if present) of the tune as the text of the link. def getTitle(m): fname = m.group(1) + ".abc" path = pathlib.Path(dir, fname)