{%- 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]($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…]nnI 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 -}} <div class=”button-group“>
<a href="{{ "mailto:" | append: feedbackmail | append: "?subject=%s" | replace: "%s", url_title | append: "&body=" | append: mailbody }}" class="button"><span>{% include t.html t="E-mail" %}</span></a> <a href="https://github.com/{{repo}}/edit/{{branch}}/{{path}}" class="button"><span>{% include t.html t="Fork & Edit on GitHub" %}</span></a> {%- comment -%}<a href="https://github.com/{{repo}}/issues" class="button"><span>List of GitHub Issues</span></a>{%- endcomment -%} <a href="https://github.com/{{repo}}/issues/new{%- unless page.lang == 'en' -%}?title={{ "[" | append: page.lang | append: "] " | uri_escape }}{%- endunless -%}" class="button"><span>{% include t.html t="New GitHub Issue" %}</span></a>
</div> {%- include box.html type=“end” -%} {%- endunless -%}