-
Some of my references have the doi field while the others have the url field. Is it possible to include url or doi in the template only when those fields exist? |
Beta Was this translation helpful? Give feedback.
Answered by
bdarcus
Dec 8, 2021
Replies: 1 comment 1 reply
-
Can't you just do If not (for example, you want to prepend "doi:" if using the doi), then you're only alternative it to write your own format-note function, based on the default one. Or see #439 if you have thoughts on that effort. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
onnyyonn
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can't you just do
${doi url}
? That should only print the first one found, or none.If not (for example, you want to prepend "doi:" if using the doi), then you're only alternative it to write your own format-note function, based on the default one.
Or see #439 if you have thoughts on that effort.