Skip to content

Commit

Permalink
direct link to rss, atom feeds
Browse files Browse the repository at this point in the history
  • Loading branch information
semanticdata committed Oct 31, 2024
1 parent c5594e4 commit 8c18ab7
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions templates/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@

<link rel="stylesheet" href="{{ get_url(path='main.css') | safe }}" />

{% if config.generate_feeds %}
<link type="application/atom+xml" rel="alternate"
href="{{ get_url(path=config.feed_filename | default(value='atom.xml')) | safe }}"
title="{{ config.title | default(value='Mabuya') }}" />
{% endif %}
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ get_url(path='rss.xml', trailing_slash=false) }}">
<link rel="alternate" type="application/atom+xml" title="Atom" href="{{ get_url(path='atom.xml', trailing_slash=false) }}">
</head>

0 comments on commit 8c18ab7

Please sign in to comment.