Add a default url for in-text citations in config file #1

Open
opened 2022-01-26 15:48:38 +01:00 by homer77 · 0 comments
Owner

By now the

citation_full_cite(id, link="")
citation_full_citeNP(id, link="")

methods don't receive a working link by default.

There should be a parameter in config/lektor-citation.ini to give a default link.

[Bibtex]
file = Literature.bib
default_link = certain_folder/literature/

If there's no link but the entry has an url-field it should use this url to link by default.

By now the ``` citation_full_cite(id, link="") citation_full_citeNP(id, link="") ``` methods don't receive a working link by default. There should be a parameter in _config/lektor-citation.ini_ to give a default link. ``` [Bibtex] file = Literature.bib default_link = certain_folder/literature/ ``` If there's no link but the entry has an _url_-field it should use this url to link by default.
homer77 added the
enhancement
label 2022-01-26 15:48:38 +01:00
homer77 self-assigned this 2022-01-26 15:48:38 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: homer77/lektor-citation#1
No description provided.