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

Add ema:note:date value to the template #550

Closed
wants to merge 1 commit into from

Conversation

TristanCacqueray
Copy link
Contributor

This change enables displaying the note date.

This change enables displaying the note date.
@srid
Copy link
Owner

srid commented Sep 29, 2024

Is it not already possible to do this with <ema:metadata>?

See #131 (comment)

@TristanCacqueray
Copy link
Contributor Author

Unfortunately that doesn't work, it seems like there is a bug for this template. The HTML does get rendered, but the text content is empty.

@TristanCacqueray
Copy link
Contributor Author

Alright, I thought the value would be printed when using <value var="date">, but that just set the tag value, so I needed to actually use the tag:

<!-- Create a new tag -->
<bind tag="date"><ema:metadata><value var="date" /></ema:metadata></bind>
<!-- Show the date -->
<date />

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

Successfully merging this pull request may close these issues.

2 participants