diff --git a/webssh/templates/index.html b/webssh/templates/index.html
index 028ed97..3268c38 100644
--- a/webssh/templates/index.html
+++ b/webssh/templates/index.html
@@ -24,7 +24,7 @@
.btn-danger {
margin-left: 5px;
}
- {% if font.url %}
+ {% if font.family %}
@font-face {
font-family: '{{ font.family }}';
src: url('{{ font.url }}');