Skip to content

Commit

Permalink
Policy layout: display a disclaimer to indicate the links go to offic…
Browse files Browse the repository at this point in the history
…ial versions that may not be very accessible (#123)
  • Loading branch information
remibetin authored Feb 17, 2025
1 parent a438097 commit 890f5a2
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions _layouts/policy.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,20 @@ <h3>Details</h3>
{% include box.html type="end" %}
{% endfor %}
</div>
{%- if page.navigation -%}
{%- include prevnext-navigation.html -%}
{%- else -%}
{%- if page.order -%}
{%- include prevnext-order.html -%}
{%- endif -%}
{%- endif -%}

{% if page.disclaimer %}
<div>
{{ page.disclaimer }}
</div>
{% endif %}

{%- if page.navigation -%}
{%- include prevnext-navigation.html -%}
{%- else -%}
{%- if page.order -%}
{%- include prevnext-order.html -%}
{%- endif -%}
{%- endif -%}

{% include_cached backtotop.html lang=page.lang %}
</main>
Expand Down

0 comments on commit 890f5a2

Please sign in to comment.