Skip to content

Commit

Permalink
RSS - Only insert feed header if app_rss_token is set (should be only…
Browse files Browse the repository at this point in the history
… shown in index/overview page) (#2381)
  • Loading branch information
AlexanderS authored May 21, 2024
1 parent 59cefe5 commit d77f913
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion changedetectionio/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" >
<meta name="description" content="Self hosted website change detection." >
<title>Change Detection{{extra_title}}</title>
<link rel="alternate" type="application/rss+xml" title="Changedetection.io » Feed{% if active_tag_uuid %}- {{active_tag.title}}{% endif %}" href="{{ url_for('rss', tag=active_tag_uuid , token=app_rss_token)}}" >
{% if app_rss_token %}
<link rel="alternate" type="application/rss+xml" title="Changedetection.io » Feed{% if active_tag_uuid %}- {{active_tag.title}}{% endif %}" href="{{ url_for('rss', tag=active_tag_uuid , token=app_rss_token)}}" >
{% endif %}
<link rel="stylesheet" href="{{url_for('static_content', group='styles', filename='pure-min.css')}}" >
<link rel="stylesheet" href="{{url_for('static_content', group='styles', filename='styles.css')}}?v={{ get_css_version() }}" >
{% if extra_stylesheets %}
Expand Down

0 comments on commit d77f913

Please sign in to comment.