diff --git a/README.md b/README.md index 68a4fc4..d530d1d 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,10 @@ Create an _citation.ini_ in its _configs_-folder: ``` [Bibtex] file = Literature.bib + +[default] +priority = url +link = /for-example/link-to-your/biblioprahy ``` And put a _Literature.bib_ BibTex-file into the project's _assets_-folder respectively. @@ -94,5 +98,11 @@ Both methods create a complete hyperlink inside your text for the entry with _id or (AuthorI & AuthorII, 2019) - + +#### link parameter +Which url is used for your citation's link depends on what you set in the _citation.ini_ file. +* If you set _priority_ in the _default_ section to __url__ the link is set to the value of the _url_ field of the entry. +* If there's no value in it the default-link you may set with _link_ in the same section is used. +* If you set the _link_ parameter of the function it overwrites the former options. + Thanks to the **lektor-jinja-content** plugin which is a dependency of this plugin you might also use the globals inside your markdown or html contents, too.