File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 75
75
{% set_global resp2_replies = load_data(path="../_data/resp2_replies.json", required=false) -%}
76
76
{% set_global resp3_replies = load_data(path="../_data/resp3_replies.json", required=false) -%}
77
77
{% if resp2_replies and resp3_replies -%}
78
- {% set resp2_reply = resp2_replies | get(key=command_title) | join(sep="\n\n ") -%}
79
- {% set resp3_reply = resp3_replies | get(key=command_title) | join(sep="\n\n ") -%}
78
+ {% set resp2_reply = resp2_replies | get(key=command_title, default=" ") -%}
79
+ {% set resp3_reply = resp3_replies | get(key=command_title, default=" ") -%}
80
80
81
- {% if resp2_reply or resp3_reply -%}
81
+ {% if resp2_reply and resp2_reply != "" and resp3_reply and resp3_reply != "" -%}
82
+ {% set resp2_reply = resp2_reply | join(sep="\n\n") -%}
83
+ {% set resp3_reply = resp3_reply | join(sep="\n\n") -%}
82
84
{% if resp2_reply == resp3_reply -%}
83
85
< h3 > RESP2/RESP3 Reply</ h3 >
84
86
{{ commands::fix_links(content=resp2_reply) | markdown | safe }}
You can’t perform that action at this time.
0 commit comments