{%- if page.collection -%}{%- assign col = site.collections | where: "label", page.collection | first -%}{%- endif- %} {%- capture helptitle -%}{% include t.html t="Help improve this page" %}{%- endcapture -%} {%- if page.feedbackmail -%} {%- assign feedbackmail = page.feedbackmail -%} {%- else -%} {%- assign feedbackmail = "wai-eo-editors@w3.org" -%} {%- endif -%} {% assign reppattern = "$1|" | append: feedbackmail%} {%- capture helpdesc -%}{% include t.html t="Please share your ideas, suggestions, or comments via e-mail to the publicly-archived list [$1](mailto:$1?subject=%s) or via GitHub." replace=reppattern %}{%- endcapture -%} {%- unless page.github.hide -%} {%- if page.github.repository -%}{%- assign repo = page.github.repository -%}{%endif%} {%- if site.repository -%} {%- assign repo = site.repository -%} {%- endif- %} {%- if page.collection -%} {%- assign repo = col.repository -%} {%- endif- %} {%- if page.github.repository -%} {%- assign repo = page.github.repository -%} {%- endif- %} {%- assign branch = "master" -%} {%- if site.branch -%} {%- assign branch = site.branch -%} {%- endif- %} {%- if page.collection -%} {%- if col.branch -%} {%- assign branch = col.branch -%} {%- endif -%} {%- endif- %} {%- if page.github.branch -%} {%- assign branch = page.github.branch -%} {%- endif- %} {%- assign path = "index.md" -%} {%- if page.collection -%} {%- assign path = page.path -%} {%- endif- %} {%- if page.github.path -%} {%- assign path = page.github.path -%} {%- endif- %} {%- include box.html type="start" title=helptitle h=2 class="icon space-above" icon="comments" id="helpimprove" -%} {%- if page.lang -%} {%- assign url_title = "[" | append: page.lang | append: "] " | append: page.title | uri_escape -%} {%- else -%} {%- assign url_title = page.title | uri_escape -%} {%- endif -%} {% unless feedbackmail == "wai@w3.org" %} {%- capture mailbody -%}{% include t.html t="[put comment here...]" %}{%- endcapture -%} {% else %} {%- capture mailbody -%}{% include t.html t="[put comment here...]\n\nI give permission to share this to a publicly-archived e-mail list." %}"}{%- endcapture -%} {% endunless %} {%- assign mailbody = mailbody | uri_escape -%} {{- helpdesc | replace: "%s", url_title | markdownify -}}
{%- include box.html type="end" -%} {%- endunless -%}