diff options
| author | Jake G | 2023-06-05 15:59:52 -0700 |
|---|---|---|
| committer | GitHub | 2023-06-05 15:59:52 -0700 |
| commit | a644ca532aaafd6a9376d03a37451c5d5d800b75 (patch) | |
| tree | 4f8f70c9bb039a9c150538b9e0a4b41785ea37d6 /templates | |
| parent | 4cc9edc9ece7b855692d65fad29d3823036f5637 (diff) | |
| parent | ce59fae874f6f4ec1681c8c495a9a28955b5d45d (diff) | |
| download | abridge-a644ca532aaafd6a9376d03a37451c5d5d800b75.tar.gz abridge-a644ca532aaafd6a9376d03a37451c5d5d800b75.tar.bz2 abridge-a644ca532aaafd6a9376d03a37451c5d5d800b75.zip | |
Merge pull request #122 from welpo/multilingual-feeds
link to the proper language feed
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/macros/social.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/macros/social.html b/templates/macros/social.html index 2a0835c..2b8f841 100644 --- a/templates/macros/social.html +++ b/templates/macros/social.html @@ -1,7 +1,7 @@ {%- macro social_links(config) %} <nav> - {%- if config.generate_feed -%}{%- if config.extra.feed -%} - <a href="{{ get_url(path=config.feed_filename, trailing_slash=false) | safe }}" target="_blank" title="Atom/RSS Feed"><i type="Button" class="svg rss" title="Atom/RSS Feed"></i></a>{% endif -%}{% endif -%} + {%- if config.generate_feed and config.extra.feed -%} + <a href="{{ get_url(path=config.feed_filename, trailing_slash=false, lang=lang) | safe }}" target="_blank" title="Atom/RSS Feed"><i type="Button" class="svg rss" title="Atom/RSS Feed"></i></a>{% endif -%} {%- if config.extra.mail -%} {%- if config.extra.mail_encode | default(value=true) -%} {%- set base64_email = config.extra.mail -%} |
