diff options
| author | Jieiku | 2023-08-19 10:39:52 -0700 |
|---|---|---|
| committer | Jieiku | 2023-08-19 10:39:52 -0700 |
| commit | 211d08f9804c70943d7395175f25096483f006d0 (patch) | |
| tree | c2c98891259fc353826b9346ee424101bb4c2e05 /templates/macros/social.html | |
| parent | 3e5d8a96e9eae21a799f327cd8a52adb891ebe66 (diff) | |
| download | abridge-2.0.0.tar.gz abridge-2.0.0.tar.bz2 abridge-2.0.0.zip | |
Version 2.0.0 Refactor, Add PWA Support2.0.0
Diffstat (limited to 'templates/macros/social.html')
| -rw-r--r-- | templates/macros/social.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/macros/social.html b/templates/macros/social.html index 1221ce7..8661976 100644 --- a/templates/macros/social.html +++ b/templates/macros/social.html @@ -1,7 +1,7 @@ {%- macro social_links(config) %} <nav><div> {%- 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 -%} + <a type="{% if config.feed_filename is containing('atom') %}application/atom+xml{% else %}application/rss+xml{% endif %}" href="{{ get_url(path=config.feed_filename, trailing_slash=false, lang=lang) | safe }}" target="_blank" title="{{ config.title }} Atom/RSS Feed"><i type="Button" class="svg rss" title="{{ config.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 -%} |
