_layouts/policy.html in wai-website-theme-1.7 vs _layouts/policy.html in wai-website-theme-1.9.pre
- old
+ new
@@ -33,11 +33,11 @@
{{- seo | replace: '<meta name="twitter:card" content="summary" />', '<meta name="twitter:card" content="summary_large_image" />' -}}
{%- unless page.image -%}{%- if site.twitter.image -%}{% assign twimage = site.twitter.image -%}{%- else -%}{% assign twimage = '/assets/images/social-sharing-default.jpg' -%}{%- endif -%}
<meta name="twitter:image" property="og:image" content="{{ twimage | relative_url | prepend: site.url }}">
{%- endunless -%}
{% include_cached head.html type="end" %}
- <body id="top" class="page-{{page.title | slugify}} {% include_cached body-class.html collection=page.collection doc-note-type=page.doc-note-type %}">
+ <body id="top" class="page-{{page.title | slugify}} {% include_cached body-class.html collection=page.collection doc-note-type=page.doc-note-type %}"{%if page.footnotestitle %} data-footnotestitle="{{page.footnotestitle}}"{% endif %}>
{% include header.html translations=translations %}
<div class="default-grid with-gap leftcol contentarea">
{% include sidenav.html %}
@@ -105,9 +105,9 @@
{% include_cached backtotop.html lang=page.lang %}
</main>
</div>
-{% include footer.html %}
+{% include footer.html lang=pagelang %}
<style>@import url('{{"/policies/css/policies.css" | relative_url }}');</style>
</body>
</html>