diff --git a/content/u/products/demo-product/contents.lr b/content/u/products/demo-product/contents.lr index 1b53763..2680dde 100644 --- a/content/u/products/demo-product/contents.lr +++ b/content/u/products/demo-product/contents.lr @@ -36,7 +36,13 @@ Description content --- description5: -## This is the fifth markdown description block +## This is the 5. markdown description block + +Description content +--- +description6: + +## This is the 6. markdown description block Description content diff --git a/models/product.ini b/models/product.ini index 62f3af2..4e49c54 100644 --- a/models/product.ini +++ b/models/product.ini @@ -57,6 +57,10 @@ type = markdown label = Description 5 type = markdown +[fields.description6] +label = Description 6 +type = markdown + [fields.link] label = Link type = url diff --git a/templates/product.html b/templates/product.html index 1ce693f..a88a222 100644 --- a/templates/product.html +++ b/templates/product.html @@ -120,6 +120,16 @@ +{% if this.description5 %} +
+
+
+ {{ this.description5 }} +
+
+
+{% endif %} +
@@ -160,11 +170,11 @@
-{% if this.description5 %} +{% if this.description6 %}
- {{ this.description5 }} + {{ this.description6 }}