diff --git a/data/defaults/neurolibre.yaml b/data/defaults/neurolibre.yaml index 9807486..11d0e5f 100644 --- a/data/defaults/neurolibre.yaml +++ b/data/defaults/neurolibre.yaml @@ -12,6 +12,8 @@ filters: path: self-citation.lua - type: lua path: neurolibre-handle-crowd.lua + - type: lua + path: conditional-archives.lua variables: # styling options diff --git a/data/templates/neurolibrenew.tex b/data/templates/neurolibrenew.tex index 7e856a1..077fefe 100644 --- a/data/templates/neurolibrenew.tex +++ b/data/templates/neurolibrenew.tex @@ -473,26 +473,18 @@ {\bfseries Reproducibility Assets} \begin{itemize} \setlength\itemsep{0em} - $if(repository_doi)$ - $if(repository_doi)$$if(repository_doi = "N/A")$$else$ +$if(include_repository_doi)$ \item \href{https://doi.org/$repository_doi$}{\color{red}{Repository}} \ExternalLink - $endif$$endif$ - $endif$ - $if(data_doi)$ - $if(data_doi)$$if(data_doi = "N/A")$$else$ +$endif$ +$if(include_data_doi)$ \item \href{https://doi.org/$data_doi$}{\color{red}{Dataset}} \ExternalLink - $endif$$endif$ - $endif$ - $if(book_doi)$ - $if(book_doi)$$if(book_doi = "N/A")$$else$ +$endif$ +$if(include_book_doi)$ \item \href{https://doi.org/$book_doi$}{\color{red}{Jupyter Book}} \ExternalLink - $endif$$endif$ - $endif$ - $if(docker_doi)$ - $if(docker_doi)$$if(docker_doi = "N/A")$$else$ +$endif$ +$if(include_docker_doi)$ \item \href{https://doi.org/$docker_doi$}{\color{red}{Container}} \ExternalLink - $endif$$endif$ - $endif$ +$endif$ \end{itemize} \vspace{1mm}