diff --git a/md_pdf/assets/cover-template.html b/md_pdf/assets/cover-template.html
index e4bc72e..8675240 100644
--- a/md_pdf/assets/cover-template.html
+++ b/md_pdf/assets/cover-template.html
@@ -5,13 +5,16 @@
{{ title }}
- {{ subtitle }}
+ {% if subtitle %}
+ {{ subtitle }}
+ {% endif %}
+
{% if student_number %}
- Student Number: {{ student_number }}
+ Student Number: {{ student_number }}
{% endif %}
{% if turnitin_number %}
- TurnItIn Number: {{ turnitin_number }}
+ TurnItIn Number: {{ turnitin_number }}
{% endif %}