diff options
author | eatradish <[email protected]> | 2022-04-11 13:06:59 +0800 |
---|---|---|
committer | eatradish <[email protected]> | 2022-04-11 13:06:59 +0800 |
commit | 34af9a3c1df0ebe04e952aa597de6b7d27ba091a (patch) | |
tree | d6e6aa29d7a0d3f39fa75da5800e8caaeae7c889 /templates | |
parent | 9729cd4a91b3244bd4f1d451ca84957e77c666b0 (diff) | |
download | Seje2-34af9a3c1df0ebe04e952aa597de6b7d27ba091a.tar.gz Seje2-34af9a3c1df0ebe04e952aa597de6b7d27ba091a.tar.bz2 Seje2-34af9a3c1df0ebe04e952aa597de6b7d27ba091a.zip |
config.toml: adjust rss link
Diffstat (limited to 'templates')
-rw-r--r-- | templates/base.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html index eef6a39..31623a7 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,6 +1,9 @@ <!DOCTYPE html> <html> <head> + {% block rss %} + <link rel="alternate" type="application/rss+xml" title="RSS" href="{{ get_url(path="atom.xml", trailing_slash=false) }}"> + {% endblock %} {% set sub_title = section.title | default(value=page.title | default(value='')) %} {% if sub_title %} {% set title = sub_title ~ ' - ' ~ trans(key="title") %} |