+
+ {%- for index in ['1', '2', '3', '4', '5', '6', '7', '8'] -%}
- {%- set label = values['item_' + index + '_label'] -%}
- {%- set url = values['item_' + index + '_url'] -%}
+ {%- set label = values['item_' + index + '_label'] -%}
+ {%- set url = values['item_' + index + '_url'] -%}
- {%- if label and url -%}
- {{ c('navbar_link', label=label, url=url) }}
- {%- endif -%}
+ {%- if label and url -%}
+ {{ c('navbar_link', label=label, url=url) }}
+ {%- endif -%}
- {%- endfor -%}
+ {%- endfor -%}
+
+
+ {{ content }}
+
diff --git a/frappe/website/web_template/footer_horizontal/footer_horizontal.json b/frappe/website/web_template/footer_horizontal/footer_horizontal.json
index 9a66e1d555..5e17f80eb1 100644
--- a/frappe/website/web_template/footer_horizontal/footer_horizontal.json
+++ b/frappe/website/web_template/footer_horizontal/footer_horizontal.json
@@ -86,10 +86,16 @@
"fieldtype": "Data",
"label": "Item 5 URL",
"reqd": 0
+ },
+ {
+ "fieldname": "content",
+ "fieldtype": "Markdown Editor",
+ "label": "Content",
+ "reqd": 0
}
],
"idx": 0,
- "modified": "2020-04-19 15:11:42.097670",
+ "modified": "2020-04-26 15:14:15.892042",
"modified_by": "Administrator",
"name": "Footer Horizontal",
"owner": "Administrator",