mirror of https://github.com/eyhc1/rendercv.git
themes: allow url field for PublicationEntry (#105)
This commit is contained in:
parent
7525462e43
commit
f3acaed95b
|
@ -21,12 +21,14 @@
|
|||
((* endif *))
|
||||
((* if entry.doi -*))
|
||||
\href{<<entry.doi_url>>}{<<entry.doi>>}
|
||||
((* elif entry.url -*))
|
||||
\href{<<entry.url>>}{<<entry.clean_url>>}
|
||||
((*- endif -*))
|
||||
((*- if entry.doi and entry.journal *)) (((* endif -*))
|
||||
((*- if (entry.doi or entry.url) and entry.journal *)) (((* endif -*))
|
||||
((*- if entry.journal -*))
|
||||
<<entry.journal>>
|
||||
((*- endif -*))
|
||||
((*- if entry.doi and entry.journal *)))((* endif *))
|
||||
((*- if (entry.doi or entry.url) and entry.journal *)))((* endif *))
|
||||
((* if entry.date_string *))
|
||||
\end{twocolentry}
|
||||
((* else *))
|
||||
|
|
|
@ -26,11 +26,13 @@
|
|||
|
||||
((* if entry.doi -*))
|
||||
\href{<<entry.doi_url>>}{<<entry.doi>>}
|
||||
((* elif entry.url -*))
|
||||
\href{<<entry.url>>}{<<entry.clean_url>>}
|
||||
((*- endif -*))
|
||||
((*- if entry.doi and entry.journal *)) (((* endif -*))
|
||||
((*- if (entry.doi or entry.url) and entry.journal *)) (((* endif -*))
|
||||
((*- if entry.journal -*))
|
||||
<<entry.journal>>
|
||||
((*- endif -*))
|
||||
((*- if entry.doi and entry.journal *)))((* endif -*))
|
||||
((*- if (entry.doi or entry.url) and entry.journal *)))((* endif -*))
|
||||
\end{onecolentry}
|
||||
\end{samepage}
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
## <<entry.title>> ((* if entry.doi != "" *))([<<entry.doi>>](<<entry.doi_url>>))((* endif *))
|
||||
## <<entry.title>> ((* if entry.doi *))([<<entry.doi>>](<<entry.doi_url>>))((* elif entry.url *))([<<entry.url>>](<<entry.clean_url>>))((* endif *))
|
||||
|
||||
((* if entry.date_string *))
|
||||
- <<entry.date_string>>
|
||||
((* endif *))
|
||||
- <<entry.authors|join(", ")>>
|
||||
((* if entry.journal != "" *))
|
||||
((* if entry.journal *))
|
||||
- <<entry.journal>>
|
||||
((* endif *))
|
||||
|
|
|
@ -3,6 +3,6 @@
|
|||
}{\textbf{<<entry.title>>}}{
|
||||
<<-entry.journal->>
|
||||
}{
|
||||
((*- if entry.doi -*))\href{<<entry.doi_url>>}{<<entry.doi>>}((*- endif -*))
|
||||
((*- if entry.doi -*))\href{<<entry.doi_url>>}{<<entry.doi>>}((* elif entry.url *))\href{<<entry.url>>}{<<entry.clean_url>>}((*- endif -*))
|
||||
}{}{}
|
||||
\cvline{}{\small <<entry.authors|map("make_it_nolinebreak")|join(", ")>>}
|
|
@ -29,12 +29,14 @@
|
|||
((* endif *))
|
||||
((* if entry.doi -*))
|
||||
\href{<<entry.doi_url>>}{<<entry.doi>>}
|
||||
((* elif entry.url -*))
|
||||
\href{<<entry.url>>}{<<entry.clean_url>>}
|
||||
((*- endif -*))
|
||||
((*- if entry.doi and entry.journal *)) (((* endif -*))
|
||||
((*- if (entry.doi or entry.url) and entry.journal *)) (((* endif -*))
|
||||
((*- if entry.journal -*))
|
||||
<<entry.journal>>
|
||||
((*- endif -*))
|
||||
((*- if entry.doi and entry.journal *)))((* endif -*))
|
||||
((*- if (entry.doi or entry.url) and entry.journal *)))((* endif -*))
|
||||
((* if entry.doi or entry.journal *))
|
||||
\end{onecolentry}
|
||||
((* endif *))
|
||||
|
|
Loading…
Reference in New Issue