added ☒ to Has_* to indicate click would remove it...
This commit is contained in:
parent
254dd21d51
commit
8e688abe3c
4
app/c.js
4
app/c.js
|
@ -10,14 +10,14 @@ function captureFrontMatterAndMarkdown() {
|
|||
}
|
||||
} else if (k.endsWith('[]')) {
|
||||
formData.set(k, formData.getAll(k))
|
||||
var s = JSON.stringify(formData.getAll(k)[0].split(","))
|
||||
var s = JSON.stringify(formData.getAll(k)[0].split(" ☒").join("").split(","))
|
||||
frontmatter += `${k.slice(0, -2)}: ${s}\n`
|
||||
} else if (k == "relpath") {
|
||||
filepath = `${location.pathname.split('/public')[0]}/content/${formData.get(k)}`
|
||||
gitpath = `${location.pathname.split('/public')[0]}`
|
||||
} else if (k == "relpermalink") {
|
||||
publishpath = `${location.pathname.split('/public')[0]}/public${formData.get(k)}index.html`
|
||||
} else if (["protocol", "offline"].includes(k)) {
|
||||
} else if (["protocol", "offline", "ignore"].includes(k)) {
|
||||
continue
|
||||
} else {
|
||||
var s = JSON.stringify(formData.get(k))
|
||||
|
|
Loading…
Reference in New Issue