mirror of
https://github.com/rvtr/wiki.git
synced 2025-10-31 06:31:13 -04:00
Link to current page's source
This commit is contained in:
parent
b6c0187d93
commit
f78046c351
@ -12,7 +12,15 @@
|
|||||||
</a>
|
</a>
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
{{ site.data[page.collection].strings.published-with | replace: "$1", site.repo }}
|
{% assign source = site.repo | append: "/blob/main/pages" %}
|
||||||
|
{% if page.collection == "en-US" %}
|
||||||
|
{% assign source = source | append: "/_en-US" | append: page.url | replace: ".html", ".md" %}
|
||||||
|
{% else %}
|
||||||
|
{% assign url = page.url | remove_first: "/" %}
|
||||||
|
{% assign source = source | append: "/_" | append: url | replace: ".html", ".md" %}
|
||||||
|
{% endif %}
|
||||||
|
{% assign source = source | %}
|
||||||
|
{{ site.data[page.collection].strings.published-with | replace: "$1", source }}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user