File tree 1 file changed +2
-2
lines changed
packages/lit-dev-content/site/_includes 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 9
9
{% endif %}
10
10
{% set isLatestVersionedUrl = selectedVersion == latestVersion and page.url.includes("/" + latestVersion + "/") %}
11
11
{% set isUnversionedPage = page.inputPath.includes("/unversioned/") %}
12
+ {% set editableFilePath = page.inputPath.replace("/unversioned/", "/" + selectedVersion + "/") %}
12
13
13
14
{% block head %}
14
15
{% include "social-tags.html" %}
@@ -49,7 +50,6 @@ <h2><a href="#content">Contents: {{ title }}</a></h2>
49
50
</ div >
50
51
</ nav >
51
52
{% endif %}
52
- < litdev-edit-this-page filepath ="{{ page.inputPath }} "> </ litdev-edit-this-page >
53
53
</ div >
54
54
55
55
< div id ="articleWrapper ">
@@ -71,7 +71,7 @@ <h1>{{ title }}</h1>
71
71
{% if not nonEditableDocumentRegex.test(page.inputPath) %}
72
72
< p id ="edit-page-link ">
73
73
< a
74
- href ="https://github.com/lit/lit.dev/edit/main/packages/lit-dev-content/{{ page.inputPath }} ">
74
+ href ="https://github.com/lit/lit.dev/edit/main/packages/lit-dev-content/{{ editableFilePath }} ">
75
75
Edit this page
76
76
< lazy-svg
77
77
loading ="visible "
You can’t perform that action at this time.
0 commit comments