From 67854e8164da21ba0bf2dbd060e645b5ca87eb8e Mon Sep 17 00:00:00 2001
From: Ekaitz Zárraga <ekaitz.zarraga@protonmail.com>
Date: Wed, 30 Jan 2019 12:38:34 +0100
Subject: Only add copyleft symbol when license is defined

---
 pandoc/templates/elenq-article.latex | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'pandoc/templates/elenq-article.latex')

diff --git a/pandoc/templates/elenq-article.latex b/pandoc/templates/elenq-article.latex
index c103547..50ec24a 100644
--- a/pandoc/templates/elenq-article.latex
+++ b/pandoc/templates/elenq-article.latex
@@ -279,7 +279,7 @@ $endif$
 \fancyfoot{} % clear footer
 \renewcommand{\footrulewidth}{0.4pt}
 \fancyfoot[RO, LE]{\thepage}
-\fancyfoot[LO, RE]{\textcopyleft $author$}
+\fancyfoot[LO, RE]{$if(license)$\textcopyleft $endif$ $author$}
 
 % Header on CHAPTER PAGE TODO
 \fancypagestyle{chapter}{%
@@ -292,7 +292,7 @@ $endif$
   \fancyhead{} % clear header
   \renewcommand{\headrulewidth}{0pt}
   \fancyfoot[R]{$author$}
-  \fancyfoot[L]{\textcopyleft $license$}
+  \fancyfoot[L]{$if(license)$\textcopyleft $license$ $endif$}
 }
 
 % Article titlepage, similar to book chapter
@@ -301,7 +301,7 @@ $endif$
   \fancyhead[L]{\logo{0.5}}
   \fancyhead[R]{\LARGE{$title$}}
   \fancyfoot[R]{$author$}
-  \fancyfoot[L]{\textcopyleft $license$}
+  \fancyfoot[L]{$if(license)$\textcopyleft $license$ $endif$}
 }
 
 % Beautiful quotes
-- 
cgit v1.2.3

