Commits

tjama committed 70f9d43

fixes

Comments (0)

Files changed (1)

templates/viewanime.html

           <tr>
             <td>{{ i }}</td>
             <td>{{ s['title'] }}</td>
-            <td><a href="{{ s['mallink'] }}" target="_blank"><img src="/static/images/mal-logo-small.jpg"></a></td>
+            <td>{% if s['mallink'] %}<a href="{{ s['mallink'] }}" target="_blank"><img src="/static/images/mal-logo-small.jpg"></a>{% end %}</td>
             <td>{{ s['songs'] }}</td>
           </tr>
           {% end %}