From b8578a3b3698a9f454f69a946234e51b72dd6c51 Mon Sep 17 00:00:00 2001
From: Jonas Smedegaard <dr@jones.dk>
Date: Tue, 9 Dec 2014 19:11:24 +0100
Subject: Ignore related template variables unless title is set.

---
 template.tex | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'template.tex')

diff --git a/template.tex b/template.tex
index 0240d8e..9adfd0d 100644
--- a/template.tex
+++ b/template.tex
@@ -130,7 +130,6 @@ $endif$
 
 $if(title)$
 \title{$title$}
-$endif$
 $if(subtitle)$
 \subtitle{$subtitle$}
 $endif$
@@ -142,6 +141,8 @@ $if(date)$
 $else$
 \date{}
 $endif$
+$endif$
+
 $for(header-includes)$
 $header-includes$
 $endfor$
-- 
cgit v1.2.3

