Skip to content

Commit

Permalink
Update footer
Browse files Browse the repository at this point in the history
  • Loading branch information
remibetin committed Sep 24, 2024
1 parent 8944eed commit cdad750
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
{%- elsif page.changelog -%}{%- comment -%}Supports legacy method for now{% endcomment -%}
{%- assign changelog_url = page.changelog -%}
{%- elsif page.ref -%}
{%- capture changelog_url -%}{{ page.ref | append: "changelog/" }}{%- endcapture -%}
{%- assign changelog_url = page.url | append: "changelog/" -%}
{%- else -%}
{%- capture changelog_url -%}{{ page.url | append: "changelog/" }}{%- endcapture -%}
{%- assign changelog_url = page.url | append: "changelog/" -%}
{%- endif -%}
{%- assign all_docs = site.documents | concat: site.pages -%}
{%- assign changelog_page = all_docs | where: "url", changelog_url | first -%}
Expand Down Expand Up @@ -144,6 +144,9 @@
{%- else -%}
.
{%- endif -%}
{%- if page_lang != 'en' %}
<strong>{%- include_cached t.html t="Translation last updated:" lang=page.lang %}</strong> {{ page.translation.last_updated | date: '%Y-%m-%d' }}
{%- endif -%}
</p>
{%- endif -%}
{{ page.footer | replace: "CHANGELOG", changelog | replace: "ACKNOWLEDGEMENTS", acknowledgements }}
Expand Down

0 comments on commit cdad750

Please sign in to comment.