summaryrefslogtreecommitdiff
path: root/pandoc/templates/elenq-book.latex
diff options
context:
space:
mode:
authorEkaitz Zárraga <ekaitz.zarraga@protonmail.com>2019-01-30 12:38:34 +0100
committerEkaitz Zárraga <ekaitz.zarraga@protonmail.com>2019-01-30 12:38:34 +0100
commit67854e8164da21ba0bf2dbd060e645b5ca87eb8e (patch)
tree065f6d7086daad5aa53f0270271ed44bbe72088c /pandoc/templates/elenq-book.latex
parent2ead4e9758fe8fbb00e5fa91c0b44db8f48e3b21 (diff)
Only add copyleft symbol when license is defined
Diffstat (limited to 'pandoc/templates/elenq-book.latex')
-rw-r--r--pandoc/templates/elenq-book.latex4
1 files changed, 2 insertions, 2 deletions
diff --git a/pandoc/templates/elenq-book.latex b/pandoc/templates/elenq-book.latex
index aafe32c..cfb7d7f 100644
--- a/pandoc/templates/elenq-book.latex
+++ b/pandoc/templates/elenq-book.latex
@@ -310,7 +310,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}{%
@@ -323,7 +323,7 @@ $endif$
\fancyhead{} % clear header
\renewcommand{\headrulewidth}{0pt}
\fancyfoot[R]{$author$}
- \fancyfoot[L]{\textcopyleft $license$}
+ \fancyfoot[L]{$if(license)$\textcopyleft $license$ $endif$}
}
% Beautiful quotes