Skip to content

Commit

Permalink
fix: hreflang tag attribute of feed misses site.alt_lang
Browse files Browse the repository at this point in the history
  • Loading branch information
cotes2020 committed Dec 7, 2022
1 parent 5561cd8 commit 7651d28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/feed.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ permalink: /feed.xml
<uri>{{ "/" | absolute_url }}</uri>
</author>
<link rel="self" type="application/atom+xml" href="{{ page.url | absolute_url }}"/>
<link rel="alternate" type="text/html" hreflang="{{ site.lang }}"
<link rel="alternate" type="text/html" hreflang="{{ site.alt_lang | default: site.lang }}"
href="{{ '/' | absolute_url }}"/>
<generator uri="https://jekyllrb.com/" version="{{ jekyll.version }}">Jekyll</generator>
<rights> © {{ 'now' | date: '%Y' }} {{ site.social.name }} </rights>
Expand Down

0 comments on commit 7651d28

Please sign in to comment.