<%! import lazylibrarian from lazylibrarian.config2 import CONFIG %> ${opds['title']} ${opds['id']} ${opds['updated']} LazyLibrarian Server https://${CONFIG['GIT_HOST']}/${CONFIG['GIT_USER']}/${CONFIG['GIT_REPO']} %for link in opds['links']: <% linktitle = '' if 'title' in link: linktitle = ' title="%s"' % link['title'] %> %endfor %for entry in opds['entries']: ${entry['title']} ${entry['id']} %if 'author' in entry and entry['author']: ${entry['author']} %endif ${entry['updated']} ${entry['content']} %if entry['rel'] == 'file': %else: % if entry['rel'] == 'multi': ${entry['type']} %else: %endif %endif %if 'thumbnail' in entry and entry['thumbnail']: %endif %if 'image' in entry and entry['image']: %endif %endfor