This commit is contained in:
ed
2022-06-19 22:58:20 +02:00
parent fe67c52ead
commit 917b6ec03c
5 changed files with 6 additions and 6 deletions

View File

@@ -148,7 +148,7 @@
have_unpost = {{ have_unpost|tojson }},
have_zip = {{ have_zip|tojson }},
turbolvl = {{ turbolvl|tojson }},
md_emp = {{ md_emp|tojson }},
have_emp = {{ have_emp|tojson }},
txt_ext = "{{ txt_ext }}",
{% if no_prism %}no_prism = 1,{% endif %}
readme = {{ readme|tojson }},

View File

@@ -128,7 +128,7 @@ write markdown (most html is 🙆 too)
<script>
var last_modified = {{ lastmod }},
md_emp = {{ md_emp }};
have_emp = {{ have_emp }};
var md_opt = {
link_md_as_html: false,

View File

@@ -26,7 +26,7 @@
<script>
var last_modified = {{ lastmod }},
md_emp = {{ md_emp }};
have_emp = {{ have_emp }};
var md_opt = {
link_md_as_html: false,

View File

@@ -1364,7 +1364,7 @@ var md_plug_err = function (ex, js) {
console.log(ex, js);
};
function load_md_plug(md_text, plug_type) {
if (!md_emp)
if (!have_emp)
return md_text;
var find = '\n```copyparty_' + plug_type + '\n';