small fixes
This commit is contained in:
parent
8263c43958
commit
fd782b9183
|
@ -130,8 +130,12 @@ function showInput(e) {
|
||||||
if (title && content) {
|
if (title && content) {
|
||||||
display.innerHTML += "---<br>";
|
display.innerHTML += "---<br>";
|
||||||
display.innerHTML += "title: \"" + title + "\"<br>";
|
display.innerHTML += "title: \"" + title + "\"<br>";
|
||||||
display.innerHTML += "date: " + datestring + "<br>";
|
|
||||||
|
if (lastmod) {
|
||||||
|
display.innerHTML += "lastmod: " + lastmod + "<br>";
|
||||||
|
} else {
|
||||||
|
display.innerHTML += "date: " + datestring + "<br>";
|
||||||
|
}
|
||||||
if (featured != '') {
|
if (featured != '') {
|
||||||
display.innerHTML += "featured: true<br>";
|
display.innerHTML += "featured: true<br>";
|
||||||
}
|
}
|
||||||
|
@ -165,9 +169,7 @@ function showInput(e) {
|
||||||
if (price) {
|
if (price) {
|
||||||
display.innerHTML += "price: \"" + price + "\"<br>";
|
display.innerHTML += "price: \"" + price + "\"<br>";
|
||||||
}
|
}
|
||||||
if (lastmod) {
|
|
||||||
display.innerHTML += "lastmod: " + lastmod + "<br>";
|
|
||||||
}
|
|
||||||
if (contact) {
|
if (contact) {
|
||||||
display.innerHTML += "contact: \"" + contact + "\"<br>";
|
display.innerHTML += "contact: \"" + contact + "\"<br>";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user