Skip to content

Commit c836c63

Browse files
hossam26644benjeffery
authored andcommitted
Update software citation handling and add citation markdown for tsdate
1 parent d1d915d commit c836c63

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

_includes/software-citation.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{% remote_include app.citation_md %}
88
{% endcapture %}
99
<div style="margin-top: 1em; font-size: 13px;">
10-
{{ citation_md | replace: "(sec_citation)=", "" | replace: "(citation)=", "" | markdownify }}
10+
{{ citation_md | split: "(sec_citation)=" | last | markdownify }}
1111
</div>
1212
{% endif %}
1313

_software/tsdate.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@ code_snippet: |2
1414
redirect_from:
1515
- /tsdate/
1616
citation_url: https://tskit.dev/tsdate/docs/stable/#citing
17+
citation_md: https://raw.githubusercontent.com/tskit-dev/tsdate/refs/heads/main/docs/citation.md
1718
---
1819
Tsdate is a scalable method for estimating the age of ancestral nodes in a tree sequence.

0 commit comments

Comments
 (0)