diff --git a/content/Memex.ndtl b/content/Memex.ndtl index 5d882b2..b3f6b53 100644 --- a/content/Memex.ndtl +++ b/content/Memex.ndtl @@ -1630,6 +1630,7 @@ SLIDE FILE : 12018-05-03_slide.jpg TYPE : image DONE : true + WIDE : true VAN DATE : 12017-01-20 diff --git a/index.html b/index.html index dc7fe14..2adb286 100644 --- a/index.html +++ b/index.html @@ -11,7 +11,7 @@ - + diff --git a/logic/viewmasonry.js b/logic/viewmasonry.js index cd0b53d..97cfafe 100644 --- a/logic/viewmasonry.js +++ b/logic/viewmasonry.js @@ -68,7 +68,11 @@ function ViewMasonry() let itemClass = "grid-item"; if (this.doDoubleWide) { - if (typeof value.QOTE !== 'undefined') + if (typeof value.WIDE !== 'undefined' && value.WIDE) + { + itemClass += " grid-item--width2"; + } + else if (typeof value.QOTE !== 'undefined') { if (Array.isArray(value.QOTE) && value.QOTE.length > 4) { @@ -83,7 +87,8 @@ function ViewMasonry() } let entry = ``; - // DIV + + // ITEM DIV entry += `