We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95875c1 commit 88879b9Copy full SHA for 88879b9
layouts/_default/single.markdown.md
@@ -1,7 +1,3 @@
1
-{{- $slug := .File.TranslationBaseName -}}
2
-{{- $outputPath := printf "%s.md" $slug -}}
3
-{{- .Page.Store.Set "RelativePermalink" (print "/" $outputPath) -}}
+{{ .Title }}
4
5
-{{ .RawContent }}
6
-
7
-{{ .RenderShortcodes }}
+{{ .RawContent }}
layouts/partials/md-dropdown.html
@@ -72,9 +72,9 @@
72
73
<script>
74
function getCurrentPlaintextUrl() {
75
- const url = window.location.href.split("#")[0].replace(/\/$/, "");
76
- return `${url}.md`;
77
- }
+ const url = window.location.href.split("#")[0].replace(/\/$/, "");
+ return `${url}/index.md`;
+}
78
79
function copyMarkdown() {
80
fetch(getCurrentPlaintextUrl())
0 commit comments