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