Closed carlinmack closed 3 months ago
Close https://github.com/zenodo/ops/issues/390
Change:
<title>{% if title %}{% block title %}{% endblock %} | {% endif %}Zenodo</title>
to
<title>{% block title %}{% endblock %}{% if self.title() %} | {% endif %}Zenodo</title>
The error is that the person who wrote this confused title for a variable when it is a block. Ref https://stackoverflow.com/questions/18720899/how-can-i-determine-if-a-jinja2-template-block-is-empty
title
Close https://github.com/zenodo/ops/issues/390
Change:
to
The error is that the person who wrote this confused
title
for a variable when it is a block. Ref https://stackoverflow.com/questions/18720899/how-can-i-determine-if-a-jinja2-template-block-is-empty