Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backlinks visible into notes ? #14

Open
reyman opened this issue Oct 12, 2021 · 2 comments
Open

Backlinks visible into notes ? #14

reyman opened this issue Oct 12, 2021 · 2 comments

Comments

@reyman
Copy link
Contributor

reyman commented Oct 12, 2021

Hi,
I see in code that you compute backlinks for every notes, is it possible to add "shortcode" or anything to include linked notes (not tagged notes) to page during generation ?
Best regards !

@lggruspe
Copy link
Owner

Can you give an example of what you mean by shortcodes? Do you mean like a code that tells the generator to show the linked notes on the same page?

@reyman
Copy link
Contributor Author

reyman commented Oct 20, 2021

Yes, shortcode in hugo : https://gohugo.io/content-management/shortcodes/

In our case a shortcode to indicate to generator that we want to insert backlinks at generation could be :

{{< backlinks >}}

And to inject bibliography :

{{< bibliography >}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants