From 4424f6d6b1f6ced4118b28b3a888ada50b2deb21 Mon Sep 17 00:00:00 2001
From: Ekaitz Zarraga <ekaitz@elenq.tech>
Date: Tue, 28 Jan 2025 21:02:19 +0100
Subject: add ccicons for license

---
 pandoc/templates/elenq-article.latex | 6 +++++-
 pandoc/templates/elenq-book.latex    | 5 ++++-
 2 files changed, 9 insertions(+), 2 deletions(-)

(limited to 'pandoc/templates')

diff --git a/pandoc/templates/elenq-article.latex b/pandoc/templates/elenq-article.latex
index 3d42c22..9cc0bbe 100644
--- a/pandoc/templates/elenq-article.latex
+++ b/pandoc/templates/elenq-article.latex
@@ -24,7 +24,7 @@
 %   title: The title of the document
 %   subtitle: The subtitle of the article
 %   author: Author's name
-%   license: License of the document
+%   license: License of the document (\ccby or so, it supports ccicons)
 %
 % It also accepts some optional metadata:
 %
@@ -89,6 +89,10 @@ $if(lang)$
   $endfor$
 $endif$
 
+$if(license)$
+  \usepackage{ccicons}
+$endif$
+
 % No indent
 \usepackage{parskip}
 
diff --git a/pandoc/templates/elenq-book.latex b/pandoc/templates/elenq-book.latex
index 211dd00..20b9f45 100644
--- a/pandoc/templates/elenq-book.latex
+++ b/pandoc/templates/elenq-book.latex
@@ -24,7 +24,7 @@
 %   title: The title of the document
 %   subtitle: The subtitle of the article
 %   author: Author's name
-%   license: License of the document
+%   license: License of the document (\ccby or so, it supports ccicons)
 %
 % It also accepts some optional metadata:
 %
@@ -89,6 +89,9 @@ $if(lang)$
   $endfor$
 $endif$
 
+$if(license)$
+  \usepackage{ccicons}
+$endif$
 
 % No indent
 \usepackage{parskip}
-- 
cgit v1.2.3