Skip to content
New issue

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

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

Already on GitHub? # to your account

moved code for how-to-cite to subwidget, include full URL #1173

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

NTsch
Copy link
Collaborator

@NTsch NTsch commented Jan 9, 2024

This moves the code for the 'how-to-cite' section to its own subwidget instead of having it in three separate widgets, and adds the full MOM-URL.
Closes #1028.

@NTsch NTsch changed the title moved code for how-to-cite to subwidget, include full URL (for #1028) moved code for how-to-cite to subwidget, include full URL Jan 9, 2024
Copy link
Collaborator

@StephanMa StephanMa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@NTsch A short feedback is needed pls

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As I can see, you moved this section to another sub widget. Unfortunately, you compute all the necessary data again (fond, collection, etc). Isn't it better just to pass the parts to the sub widget instead of compute them again?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I didn't realize it could be done so simply. If I understand correctly, the subwidget automatically looks for variables in the widget it is called from? I've removed the variables from the subwidget, and it seems to work. Could you have another look?

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

Successfully merging this pull request may close these issues.

"How-to-cite"-Section does not include full Monasterium.net-URL
2 participants