Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
remibetin committed Oct 31, 2024
1 parent 084f8a9 commit bd829b7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions _includes/footer.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
{%- comment -%}
Find the page language.
{%- endcomment -%}
{%- assign page_lang = 'en' -%}
{%- if page.lang -%}
{%- assign page_lang = page.lang -%}
{%- endif -%}
{%- comment -%}
Get the changelog page:
- Use the `custom_changelog` value when existing. Also supports the legacy `changelog` frontmatter variable for now.
Expand All @@ -8,7 +15,7 @@
{%- elsif page.changelog -%}
{%- assign changelog_url = page.changelog -%}
{%- elsif page.ref -%}
{%- assign changelog_url = page.url | append: "changelog/" -%}
{%- assign changelog_url = page.ref | append: "changelog/" -%}
{%- else -%}
{%- assign changelog_url = page.url | append: "changelog/" -%}
{%- endif -%}
Expand Down Expand Up @@ -136,13 +143,6 @@
Most pages use this page footer.
{%- endcomment -%}
{%- else -%}
{%- comment -%}
Find the page language.
{%- endcomment -%}
{%- assign page_lang = 'en' -%}
{%- if page.lang -%}
{%- assign page_lang = page.lang -%}
{%- endif -%}
{%- comment -%}
Convert dates into integers to compare them later.
{%- endcomment -%}
Expand Down

0 comments on commit bd829b7

Please sign in to comment.