diff --git a/www/kojiweb/templates/api.html.j2 b/www/kojiweb/templates/api.html.j2
index 0e1f9ac6..a828b5ca 100644
--- a/www/kojiweb/templates/api.html.j2
+++ b/www/kojiweb/templates/api.html.j2
@@ -28,7 +28,7 @@ except koji.GenericError:
#for method in methods
{{ method['name'] ~ method['argdesc'] }}
- {{ method['doc'] }}
+ {{ method['doc'] if method['doc'] is not none else '' }}
#endfor
diff --git a/www/kojiweb/templates/repoinfo.html.j2 b/www/kojiweb/templates/repoinfo.html.j2
index c31f2b95..cfcd284f 100644
--- a/www/kojiweb/templates/repoinfo.html.j2
+++ b/www/kojiweb/templates/repoinfo.html.j2
@@ -15,7 +15,7 @@
| URL | repodata |
| Repo json | repo.json |
{%- endif %}
- | Dist repo? | {{ repo.dist }} |
+ | Dist repo? | {{ 'yes' if repo.dist else 'no' }} |
| Number of buildroots: | {{ numBuildroots }} |
{% else %}