From 87524730886cb7dc09db5f2ffdbcc06c6b7c810d Mon Sep 17 00:00:00 2001
From: Ekaitz Zarraga <ekaitz@elenq.tech>
Date: Wed, 27 May 2020 13:25:32 +0200
Subject: Support for multiple authors in template

---
 templates/book.latex | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/templates/book.latex b/templates/book.latex
index 7e49fd0..5f5150c 100644
--- a/templates/book.latex
+++ b/templates/book.latex
@@ -20,7 +20,7 @@
 %
 %   title: The title of the document
 %   subtitle: The subtitle of the article
-%   author: Author's name
+%   author: list of author's name
 %   license: License of the document
 %   lang: es-ES
 %   polyglossia:
@@ -408,7 +408,11 @@ $endif$
 \fancypagestyle{titlepage}{%
   \fancyhead{} % clear header
   %\renewcommand{\headrulewidth}{0pt}
-  \fancyfoot[R]{$author$}
+  \fancyfoot[R]{
+    $if(author)$
+    $for(author)$$author$$sep$, $endfor$
+    $endif$
+  }
   \fancyfoot[L]{$if(license)$ $license$ $endif$}
 }
 
-- 
cgit v1.2.3