dev0.21 #2

Merged
homer77 merged 3 commits from dev0.21 into master 2022-01-27 22:02:13 +01:00
1 changed files with 11 additions and 1 deletions
Showing only changes of commit 958829885d - Show all commits

View File

@ -15,6 +15,10 @@ Create an _citation.ini_ in its _configs_-folder:
``` ```
[Bibtex] [Bibtex]
file = Literature.bib 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. 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 or
(AuthorI & AuthorII, 2019) (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. 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.