Fix wrong configuration keys regarding RSS feeds
This commit is contained in:
parent
2fb48f50f2
commit
fb62c4e24e
2 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ defmodule MebeWeb.ControllerUtils do
|
|||
|> assign(:disqus_comments, Utils.get_conf(:disqus_comments))
|
||||
|> assign(:page_commenting, Utils.get_conf(:page_commenting))
|
||||
|> assign(:disqus_shortname, Utils.get_conf(:disqus_shortname))
|
||||
|> assign(:feeds_enabled, Utils.get_conf(:feeds_enabled))
|
||||
|> assign(:enable_feeds, Utils.get_conf(:enable_feeds))
|
||||
|> assign(:force_read_more, Utils.get_conf(:force_read_more))
|
||||
|> assign(:use_default_style, Utils.get_conf(:use_default_style))
|
||||
|> assign(:custom_style_path, Utils.get_conf(:custom_style_path))
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
<link rel="stylesheet" href="<%= @custom_style_path %>">
|
||||
<% end %>
|
||||
|
||||
<%= if @feeds_enabled do %>
|
||||
<%= if @enable_feeds do %>
|
||||
<%= if assigns[:page_type] == :tag do %>
|
||||
<link href="<%= @absolute_url %><%= feed_path @conn, :tag, @tag %>" rel="alternate" type="application/rss+xml" title="RSS feed for tag <%= @tag %>" />
|
||||
<% else %>
|
||||
|
|
Reference in a new issue